>>> libtasn1: Building main/libtasn1 4.19.0-r0 (using abuild 3.10.0_rc1-r2) started Tue, 25 Oct 2022 11:24:27 +0000 >>> libtasn1: Checking sanity of /home/buildozer/aports/main/libtasn1/APKBUILD... >>> libtasn1: Analyzing dependencies... >>> libtasn1: Installing for build: build-base texinfo diffutils (1/8) Installing libbz2 (1.0.8-r3) (2/8) Installing perl (5.36.0-r0) (3/8) Installing texinfo (6.8-r1) (4/8) Installing diffutils (3.8-r1) (5/8) Installing .makedepends-libtasn1 (20221025.112428) (6/8) Installing perl-error (0.17029-r1) (7/8) Installing perl-git (2.38.1-r0) (8/8) Installing git-perl (2.38.1-r0) Executing busybox-1.35.0-r27.trigger OK: 312 MiB in 100 packages >>> libtasn1: Cleaning up srcdir >>> libtasn1: Cleaning up pkgdir >>> libtasn1: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/libtasn1-4.19.0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> libtasn1: Fetching https://ftp.gnu.org/gnu/libtasn1/libtasn1-4.19.0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 5 1744k 5 98304 0 0 132k 0 0:00:13 --:--:-- 0:00:13 132k 100 1744k 100 1744k 0 0 1655k 0 0:00:01 0:00:01 --:--:-- 1656k >>> libtasn1: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/libtasn1-4.19.0.tar.gz >>> libtasn1: Checking sha512sums... libtasn1-4.19.0.tar.gz: OK failed-test.patch: OK >>> libtasn1: Unpacking /var/cache/distfiles/v3.17/libtasn1-4.19.0.tar.gz... >>> libtasn1: failed-test.patch patching file tests/version.c configure: GNU Libtasn1 4.19.0 libtasn1 4.19.0 0x041300 12:3:6 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... ./build-aux/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for x86_64-alpine-linux-musl-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking 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 gcc... gcc3 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 limits.h... yes checking for sys/socket.h... yes checking for getopt.h... yes checking for sys/cdefs.h... no checking for sys/time.h... yes checking for sys/param.h... yes checking for stdckdint.h... no checking for features.h... yes checking for crtdefs.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking build system type... x86_64-alpine-linux-musl checking host system type... x86_64-alpine-linux-musl checking how to run the C preprocessor... 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 x86_64-alpine-linux-musl-ar... no checking for ar... ar checking for x86_64-alpine-linux-musl-ranlib... no checking for ranlib... ranlib checking for _LARGEFILE_SOURCE value needed for large files... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for bison... no checking for byacc... no checking for clock_gettime... yes checking for fmemopen... yes checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/x86_64-alpine-linux-musl/bin/ld checking if the linker (/usr/x86_64-alpine-linux-musl/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 whether ln -s works... yes checking the maximum length of command line arguments... 98304 checking how to convert x86_64-alpine-linux-musl file names to x86_64-alpine-linux-musl format... func_convert_file_noop checking how to convert x86_64-alpine-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-alpine-linux-musl/bin/ld option to reload object files... -r checking for x86_64-alpine-linux-musl-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-alpine-linux-musl-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-alpine-linux-musl-ar... ar checking for archiver @FILE support... @ checking for x86_64-alpine-linux-musl-strip... no checking for strip... strip checking for x86_64-alpine-linux-musl-ranlib... ranlib checking command to parse /usr/bin/nm -B output from 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 x86_64-alpine-linux-musl-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/x86_64-alpine-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for x86_64-alpine-linux-musl-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for gtk-doc... no configure: WARNING: You will not be able to create source packages with 'make dist' because gtk-doc >= 1.2 is not found. checking for gtkdoc-check... no checking for gtkdoc-check... no checking for gtkdoc-rebase... no checking for gtkdoc-mkpdf... no checking whether to build gtk-doc documentation... no checking for GTKDOC_DEPS... no checking size of unsigned long int... 8 checking size of unsigned int... 4 checking whether ctype.h defines __header_inline... no checking whether the preprocessor supports include_next... yes checking whether source code line length is unlimited... yes checking whether limits.h has WORD_BIT, BOOL_WIDTH etc.... no checking whether defines MIN and MAX... no checking whether defines MIN and MAX... yes checking whether the compiler produces multi-arch binaries... no checking for _Bool... yes checking for stdbool.h that conforms to C99 or later... no checking for wchar_t... yes checking for good max_align_t... yes checking whether NULL can be used in arbitrary expressions... yes checking for wint_t... yes checking whether wint_t is large enough... yes 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.... no checking for C/C++ restrict keyword... __restrict__ checking for gcc options needed to detect all undeclared functions... none needed checking whether ecvt is declared... yes checking whether fcvt is declared... yes checking whether gcvt is declared... yes checking for pid_t... yes checking for mode_t... yes checking whether execvpe is declared... yes checking for valgrind... no checking for C compiler option to allow warnings... -Wno-error checking for C++ compiler option to allow warnings... -Wno-error checking if gcc/ld supports -Wl,--output-def... no checking if LD -Wl,--version-script works... yes checking whether the -Werror option is usable... yes checking for simple visibility declarations... yes checking whether the compiler supports the __inline keyword... yes checking for ssize_t... yes checking for strverscmp... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for _set_invalid_parameter_handler... no checking for explicit_bzero... yes checking for memset_s... no checking for fcntl... yes checking for symlink... yes checking for getdtablesize... yes checking for timespec_get... yes checking for gettimeofday... yes checking for lstat... yes checking for complete errno.h... yes checking for working fcntl.h... yes checking whether stat file-mode macros are broken... no 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 getdtablesize is declared... yes checking for getopt.h... (cached) yes checking for getopt_long_only... yes checking whether getopt is POSIX compatible... no checking for struct timeval... yes checking for wide-enough struct timeval.tv_sec member... yes 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 O_CLOEXEC... yes checking for promoted mode_t type... mode_t checking whether fcloseall is declared... no checking which flavor of printf attribute matches inttypes macros... system checking for struct timespec in ... yes checking for TIME_UTC in ... yes checking whether uses 'inline' correctly... yes checking whether wcsdup is declared... yes checking for alloca as a compiler built-in... 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 dup2 works... yes checking whether fcntl handles F_DUPFD correctly... yes checking whether fcntl understands F_DUPFD_CLOEXEC... needs runtime check 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... no checking for ftello... (cached) yes checking whether ftello works... (cached) yes checking whether getdtablesize works... yes checking for gettimeofday with POSIX signature... yes checking whether lseek detects pipes... yes checking whether open recognizes a trailing slash... yes checking whether program_invocation_name is declared... yes checking whether program_invocation_short_name is declared... yes checking for ssize_t... (cached) 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 va_copy... yes checking for variable-length arrays... yes checking whether to build with code coverage support... no 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 -Werror -Wunknown-warning-option... no checking whether C compiler handles -fanalyzer... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -fno-common... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wall... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Warith-conversion... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wbad-function-cast... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wcast-align=strict... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wdate-time... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wdisabled-optimization... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wdouble-promotion... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wduplicated-branches... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wduplicated-cond... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wextra... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wformat-signedness... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Winit-self... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Winline... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Winvalid-pch... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wlogical-op... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wmissing-declarations... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wmissing-include-dirs... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wmissing-prototypes... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wnested-externs... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wnull-dereference... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wold-style-definition... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wopenmp-simd... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wpacked... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wpointer-arith... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wshadow... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wstack-protector... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wstrict-overflow... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wstrict-prototypes... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wsuggest-attribute=cold... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wsuggest-attribute=const... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wsuggest-attribute=format... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wsuggest-attribute=malloc... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wsuggest-attribute=noreturn... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wsuggest-final-methods... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wsuggest-final-types... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wsync-nand... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wtrampolines... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wuninitialized... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wunknown-pragmas... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wunsafe-loop-optimizations... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wvariadic-macros... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wvector-operation-performance... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wvla... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wwrite-strings... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Warray-bounds=2... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wattribute-alias=2... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wbidi-chars=any,ucn... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wformat-overflow=2... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wformat=2... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wformat-truncation=2... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wimplicit-fallthrough=5... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wshift-overflow=2... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wuse-after-free=3... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wunused-const-variable=2... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wvla-larger-than=4031... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) no checking whether C compiler handles -Wno-analyzer-malloc-leak... yes checking whether C compiler handles -Wno-type-limits... yes checking whether C compiler handles -Wformat-truncation=1... yes checking whether C compiler handles -Wimplicit-fallthrough=2... yes checking whether C compiler handles -Wno-unused-parameter... yes checking whether C compiler handles -fdiagnostics-show-option... yes checking whether C compiler handles -fdiagnostics-color=always... yes checking for library containing dlsym... none required checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating doc/reference/Makefile config.status: creating examples/Makefile config.status: creating fuzz/Makefile config.status: creating lib/Makefile config.status: creating lib/gl/Makefile config.status: creating lib/includes/libtasn1.h config.status: creating lib/libtasn1.pc config.status: creating src/Makefile config.status: creating src/gl/Makefile config.status: creating tests/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: Summary of build options: Version: 4.19.0 Libtool version 12:3:6 DLL version: Header version: major 4 minor 19 patch 0 number 0x041300 Build/host system: x86_64-alpine-linux-musl / x86_64-alpine-linux-musl Install prefix: /usr Compiler: gcc Warning flags: -fanalyzer -fno-common -Wall -Warith-conversion -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Wformat-signedness -Winit-self -Winline -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstack-protector -Wstrict-overflow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunsafe-loop-optimizations -Wvariadic-macros -Wvector-operation-performance -Wvla -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-type-limits -Wformat-truncation=1 -Wimplicit-fallthrough=2 -Wno-unused-parameter -fdiagnostics-show-option -fdiagnostics-color=always CFLAGS: -Os -fomit-frame-pointer -Os -fomit-frame-pointer LDFlags: Documentation: yes Library types: Shared=yes, Static=no Valgrind: Version script: yes Fuzzing build: no make all-recursive make[1]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0' Making all in lib make[2]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib' Making all in gl make[3]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib/gl' GEN limits.h GEN stdbool.h GEN stdint.h GEN stdlib.h GEN string.h GEN sys/types.h GEN unistd.h make all-recursive make[4]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib/gl' make[5]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib/gl' CC libgnu_la-c-ctype.lo CC libgnu_la-unistd.lo CCLD libgnu.la make[5]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib/gl' make[4]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib/gl' make[3]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib/gl' make[3]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib' CC ASN1.lo CC coding.lo CC decoding.lo CC element.lo CC errors.lo CC gstr.lo CC parser_aux.lo CC structure.lo CC version.lo structure.c: In function '_asn1_copy_structure3': structure.c:446:22: warning: dereference of NULL 'p_d' [CWE-476] [-Wanalyzer-null-dereference] 446 | p_d->start = p_s->start; | ~~~~~~~~~~~^~~~~~~~~~~~ 'asn1_dup_node': events 1-2 | | 1222 | asn1_dup_node (asn1_node_const src, const char *src_name) | | ^~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_dup_node' | 1223 | { | 1224 | return _asn1_copy_structure2 (src, src_name); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (2) calling '_asn1_copy_structure2' from 'asn1_dup_node' | +--> '_asn1_copy_structure2': events 3-4 | | 483 | _asn1_copy_structure2 (asn1_node_const root, const char *source_name) | | ^~~~~~~~~~~~~~~~~~~~~ | | | | | (3) entry to '_asn1_copy_structure2' |...... | 489 | return _asn1_copy_structure3 (source_node); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (4) calling '_asn1_copy_structure3' from '_asn1_copy_structure2' | +--> '_asn1_copy_structure3': events 5-8 | | 412 | _asn1_copy_structure3 (asn1_node_const source_node) | | ^~~~~~~~~~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_copy_structure3' |...... | 418 | if (source_node == NULL) | | ~ | | | | | (6) following 'false' branch (when 'source_node' is non-NULL)... |...... | 421 | dest_node = _asn1_add_single_node (source_node->type); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | | (7) ...to here | | (8) calling '_asn1_add_single_node' from '_asn1_copy_structure3' | +--> '_asn1_add_single_node': events 9-11 | | 48 | _asn1_add_single_node (unsigned int type) | | ^~~~~~~~~~~~~~~~~~~~~ | | | | | (9) entry to '_asn1_add_single_node' |...... | 53 | if (punt == NULL) | | ~ | | | | | (10) following 'false' branch (when 'punt' is non-NULL)... |...... | 56 | punt->type = type; | | ~~~~~~~~~~~~~~~~~ | | | | | (11) ...to here | <------+ | '_asn1_copy_structure3': events 12-13 | | 421 | dest_node = _asn1_add_single_node (source_node->type); | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (12) returning to '_asn1_copy_structure3' from '_asn1_add_single_node' | 422 | if (dest_node == NULL) | | ~ | | | | | (13) following 'false' branch (when 'dest_node' is non-NULL)... | '_asn1_copy_structure3': event 14 | |cc1: | (14): ...to here | '_asn1_copy_structure3': events 15-21 | | 432 | if (move != UP) | | ^ | | | | | (15) following 'true' branch (when 'move != 1')... | 433 | { | 434 | if (p_s->name[0] != 0) | | ~~~~~~~~~~~~ | | | | | (16) ...to here | 435 | _asn1_cpy_name (p_d, p_s); | 436 | if (p_s->value) | | ~ | | | | | (17) following 'true' branch... | 437 | _asn1_set_value (p_d, p_s->value, p_s->value_len); | | ~~~~~~~~~~~~~~ | | | | | (18) ...to here | 438 | if (p_s->down) | | ~ | | | | | (19) following 'true' branch... |...... | 442 | p_d = _asn1_add_single_node (p_s->type); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | | (20) ...to here | | (21) calling '_asn1_add_single_node' from '_asn1_copy_structure3' | +--> '_asn1_add_single_node': events 22-23 | | 48 | _asn1_add_single_node (unsigned int type) | | ^~~~~~~~~~~~~~~~~~~~~ | | | | | (22) entry to '_asn1_add_single_node' |...... | 53 | if (punt == NULL) | | ~ | | | | | (23) following 'true' branch (when 'punt' is NULL)... | '_asn1_add_single_node': event 24 | |cc1: | (24): ...to here | <------+ | '_asn1_copy_structure3': events 25-26 | | 442 | p_d = _asn1_add_single_node (p_s->type); | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (25) returning to '_asn1_copy_structure3' from '_asn1_add_single_node' | 443 | _asn1_set_down (p_d_prev, p_d); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (26) calling '_asn1_set_down' from '_asn1_copy_structure3' | +--> '_asn1_set_down': events 27-31 | |./parser_aux.h:111:1: | 111 | _asn1_set_down (asn1_node node, asn1_node down) | | ^~~~~~~~~~~~~~ | | | | | (27) entry to '_asn1_set_down' | 112 | { | 113 | if (node == NULL) | | ~ | | | | | (28) following 'false' branch (when 'node' is non-NULL)... | 114 | return node; | 115 | node->down = down; | | ~~~~~~~~~~~~~~~~~ | | | | | (29) ...to here | | (30) 'down' is NULL | 116 | if (down) | | ~ | | | | | (31) following 'false' branch (when 'down' is NULL)... | '_asn1_set_down': event 32 | |cc1: | (32): ...to here | <------+ | '_asn1_copy_structure3': events 33-34 | |structure.c:443:15: | 443 | _asn1_set_down (p_d_prev, p_d); | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (33) returning to '_asn1_copy_structure3' from '_asn1_set_down' |...... | 468 | while (p_s != source_node); | | ~~~~~~~~~~~~~~~~~~ | | | | | (34) following 'true' branch (when 'p_s != source_node')... | '_asn1_copy_structure3': event 35 | |cc1: | (35): ...to here | '_asn1_copy_structure3': events 36-42 | | 432 | if (move != UP) | | ^ | | | | | (36) following 'true' branch (when 'move != 1')... | 433 | { | 434 | if (p_s->name[0] != 0) | | ~~~~~~~~~~~~~ | | | | | | | (37) ...to here | | (38) following 'false' branch... | 435 | _asn1_cpy_name (p_d, p_s); | 436 | if (p_s->value) | | ~~~~~~~~~~~ | | | | | | | (39) ...to here | | (40) following 'false' branch... | 437 | _asn1_set_value (p_d, p_s->value, p_s->value_len); | 438 | if (p_s->down) | | ~~~~~~~~~ | | | | | (41) ...to here |...... | 446 | p_d->start = p_s->start; | | ~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (42) dereference of NULL 'p_d' | In file included from ./structure.h:31, from structure.c:31: ./parser_aux.h: In function '_asn1_delete_structure': ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ structure.c:338:15: note: called from here 338 | _asn1_set_down (p3, p2); | ^~~~~~~~~~~~~~~~~~~~~~~ ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ structure.c:351:21: note: called from here 351 | _asn1_set_down (p3, p2); | ^~~~~~~~~~~~~~~~~~~~~~~ ./parser_aux.h: In function 'asn1_array2tree': ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ structure.c:212:11: note: called from here 212 | _asn1_set_down (p_last, p); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./parser_aux.h: In function 'asn1_delete_element': ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ structure.c:400:9: note: called from here 400 | _asn1_set_down (p3, p2); | ^~~~~~~~~~~~~~~~~~~~~~~ ./parser_aux.h: In function '_asn1_copy_structure3': ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ structure.c:443:15: note: called from here 443 | _asn1_set_down (p_d_prev, p_d); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ element.c: In function 'asn1_write_value': element.c:429:21: warning: use of uninitialized value '*value_temp' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 429 | if (value_temp[0] & 0x80) | ~~~~~~~~~~^~~ In function '_asn1_expand_identifier', inlined from 'asn1_create_element' at structure.c:716:9: ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ structure.c:616:19: note: called from here 616 | _asn1_set_down (p2, p->down); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ structure.c:626:21: note: called from here 626 | _asn1_set_down (p3, p2); | ^~~~~~~~~~~~~~~~~~~~~~~ In function '_asn1_type_choice_config', inlined from 'asn1_create_element' at structure.c:717:3: ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ structure.c:529:31: note: called from here 529 | _asn1_set_down (p2, p4); | ^~~~~~~~~~~~~~~~~~~~~~~ 'asn1_write_value': events 1-9 | | 302 | asn1_write_value (asn1_node node_root, const char *name, | | ^~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_write_value' |...... | 313 | if (node == NULL) | | ~ | | | | | (2) following 'false' branch... |...... | 316 | if ((node->type & CONST_OPTION) && (value == NULL) && (len == 0)) | | ~~~~~~~~~~ | | | | | (3) ...to here |...... | 339 | if (value == NULL) | | ~ | | | | | (4) following 'false' branch (when 'ivalue' is non-NULL)... |...... | 344 | switch (type) | | ~~~~~~ | | | | | (5) ...to here | | (6) following 'case 3:, case 21:' branch... |...... | 380 | case ASN1_ETYPE_INTEGER: | | ~~~~ | | | | | (7) ...to here | 381 | case ASN1_ETYPE_ENUMERATED: | 382 | if (len == 0) | | ~ | | | | | (8) following 'true' branch... | 383 | { | 384 | if ((c_isdigit (value[0])) || (value[0] == '-')) | | ~~~~~~~~ | | | | | (9) ...to here | 'asn1_write_value': event 10 | |./gl/c-ctype.h:235:3: | 235 | switch (c) | | ^~~~~~ | | | | | (10) following 'false' branch... | 'asn1_write_value': events 11-18 | |element.c:384:38: | 384 | if ((c_isdigit (value[0])) || (value[0] == '-')) | | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ | | | | | (11) ...to here | | (12) following 'false' branch... |...... | 395 | if (!(node->type & CONST_LIST)) | | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | | (13) ...to here | | (14) following 'false' branch... | 396 | return ASN1_VALUE_NOT_VALID; | 397 | p = node->down; | | ~~~~~~~~~~~~~~ | | | | | (15) ...to here | 398 | while (p) | | ~ | | | | | (16) following 'true' branch (when 'p' is non-NULL)... | 399 | { | 400 | if (type_field (p->type) == ASN1_ETYPE_CONSTANT) | | ~~~~~~~~~~~~~~~~~~~~~ | | || | | |(17) ...to here | | (18) following 'true' branch... | 'asn1_write_value': event 19 | | 402 | if (!_asn1_strcmp (p->name, value)) | | ^ | | | | | (19) ...to here ./int.h:116:49: note: in definition of macro '_asn1_strcmp' | 116 | # define _asn1_strcmp(a,b) strcmp((const char *)a, (const char *)b) | | ^ | 'asn1_write_value': events 20-25 | |element.c:402:26: | 402 | if (!_asn1_strcmp (p->name, value)) | | ^ | | | | | (20) following 'true' branch (when the strings are equal)... | 403 | { | 404 | value_temp = malloc (SIZEOF_UNSIGNED_LONG_INT); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (21) ...to here | | (22) region created on heap here | 405 | if (value_temp == NULL) | | ~ | | | | | (23) following 'false' branch (when 'value_temp' is non-NULL)... |...... | 408 | _asn1_convert_integer (p->value, | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | | (24) ...to here | | (25) calling '_asn1_convert_integer' from 'asn1_write_value' | 409 |  value_temp, | | ~~~~~~~~~~~ | 410 |  SIZEOF_UNSIGNED_LONG_INT, | | ~~~~~~~~~~~~~~~~~~~~~~~~~ | 411 |  &len); | | ~~~~~ | +--> '_asn1_convert_integer': event 26 | | 78 | _asn1_convert_integer (const unsigned char *value, unsigned char *value_out, | | ^~~~~~~~~~~~~~~~~~~~~ | | | | | (26) entry to '_asn1_convert_integer' | '_asn1_convert_integer': events 27-30 | | 88 | for (k = 0; k < SIZEOF_UNSIGNED_LONG_INT; k++) | 89 | { | 90 | val[SIZEOF_UNSIGNED_LONG_INT - k - 1] = (valtmp >> (8 * k)) & 0xFF; | | ~~~~~~~ | | | | | (28) ...to here |...... | 98 | for (k = 0; k < SIZEOF_UNSIGNED_LONG_INT - 1; k++) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (29) following 'true' branch (when 'k != 7')... | 99 | { | 100 | if (negative && (val[k] != 0xFF)) | | ~ | | | | | (30) ...to here | <------+ | 'asn1_write_value': events 31-32 | | 408 | _asn1_convert_integer (p->value, | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (31) returning to 'asn1_write_value' from '_asn1_convert_integer' | 409 |  value_temp, | | ~~~~~~~~~~~ | 410 |  SIZEOF_UNSIGNED_LONG_INT, | | ~~~~~~~~~~~~~~~~~~~~~~~~~ | 411 |  &len); | | ~~~~~ |...... | 429 | if (value_temp[0] & 0x80) | | ~~~~~~~~~~~~~ | | | | | (32) use of uninitialized value '*value_temp' here | element.c:429:21: warning: use of uninitialized value '*value_temp' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 429 | if (value_temp[0] & 0x80) | ~~~~~~~~~~^~~ 'asn1_write_value': events 1-9 | | 302 | asn1_write_value (asn1_node node_root, const char *name, | | ^~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_write_value' |...... | 313 | if (node == NULL) | | ~ | | | | | (2) following 'false' branch... |...... | 316 | if ((node->type & CONST_OPTION) && (value == NULL) && (len == 0)) | | ~~~~~~~~~~ | | | | | (3) ...to here |...... | 339 | if (value == NULL) | | ~ | | | | | (4) following 'false' branch (when 'ivalue' is non-NULL)... |...... | 344 | switch (type) | | ~~~~~~ | | | | | (5) ...to here | | (6) following 'case 3:, case 21:' branch... |...... | 380 | case ASN1_ETYPE_INTEGER: | | ~~~~ | | | | | (7) ...to here | 381 | case ASN1_ETYPE_ENUMERATED: | 382 | if (len == 0) | | ~ | | | | | (8) following 'true' branch... | 383 | { | 384 | if ((c_isdigit (value[0])) || (value[0] == '-')) | | ~~~~~~~~ | | | | | (9) ...to here | 'asn1_write_value': event 10 | |./gl/c-ctype.h:235:3: | 235 | switch (c) | | ^~~~~~ | | | | | (10) following 'false' branch... | 'asn1_write_value': events 11-23 | |element.c:384:38: | 384 | if ((c_isdigit (value[0])) || (value[0] == '-')) | | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ | | | | | (11) ...to here | | (12) following 'false' branch... |...... | 395 | if (!(node->type & CONST_LIST)) | | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | | (13) ...to here | | (14) following 'false' branch... | 396 | return ASN1_VALUE_NOT_VALID; | 397 | p = node->down; | | ~~~~~~~~~~~~~~ | | | | | (15) ...to here | 398 | while (p) | | ~ | | | | | (16) following 'true' branch (when 'p' is non-NULL)... | | (18) following 'true' branch (when 'p' is non-NULL)... | 399 | { | 400 | if (type_field (p->type) == ASN1_ETYPE_CONSTANT) | | ~~~~~~~~~~~~~~~~~~~~ | | | | | (17) ...to here | | (19) ...to here |...... | 404 | value_temp = malloc (SIZEOF_UNSIGNED_LONG_INT); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (20) region created on heap here | 405 | if (value_temp == NULL) | | ~ | | | | | (21) following 'false' branch (when 'value_temp' is non-NULL)... |...... | 408 | _asn1_convert_integer (p->value, | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | | (22) ...to here | | (23) calling '_asn1_convert_integer' from 'asn1_write_value' | 409 |  value_temp, | | ~~~~~~~~~~~ | 410 |  SIZEOF_UNSIGNED_LONG_INT, | | ~~~~~~~~~~~~~~~~~~~~~~~~~ | 411 |  &len); | | ~~~~~ | +--> '_asn1_convert_integer': event 24 | | 78 | _asn1_convert_integer (const unsigned char *value, unsigned char *value_out, | | ^~~~~~~~~~~~~~~~~~~~~ | | | | | (24) entry to '_asn1_convert_integer' | '_asn1_convert_integer': events 25-28 | | 88 | for (k = 0; k < SIZEOF_UNSIGNED_LONG_INT; k++) | 89 | { | 90 | val[SIZEOF_UNSIGNED_LONG_INT - k - 1] = (valtmp >> (8 * k)) & 0xFF; | | ~~~~~~~ | | | | | (26) ...to here |...... | 98 | for (k = 0; k < SIZEOF_UNSIGNED_LONG_INT - 1; k++) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (27) following 'true' branch (when 'k != 7')... | 99 | { | 100 | if (negative && (val[k] != 0xFF)) | | ~ | | | | | (28) ...to here | <------+ | 'asn1_write_value': events 29-30 | | 408 | _asn1_convert_integer (p->value, | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (29) returning to 'asn1_write_value' from '_asn1_convert_integer' | 409 |  value_temp, | | ~~~~~~~~~~~ | 410 |  SIZEOF_UNSIGNED_LONG_INT, | | ~~~~~~~~~~~~~~~~~~~~~~~~~ | 411 |  &len); | | ~~~~~ |...... | 429 | if (value_temp[0] & 0x80) | | ~~~~~~~~~~~~~ | | | | | (30) use of uninitialized value '*value_temp' here | element.c:441:36: warning: use of uninitialized value '*value_temp_168 + _45' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 441 | if (negative && (value_temp[k] != 0xFF)) | ~~~~~~~~~~^~~ 'asn1_write_value': events 1-9 | | 302 | asn1_write_value (asn1_node node_root, const char *name, | | ^~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_write_value' |...... | 313 | if (node == NULL) | | ~ | | | | | (2) following 'false' branch... |...... | 316 | if ((node->type & CONST_OPTION) && (value == NULL) && (len == 0)) | | ~~~~~~~~~~ | | | | | (3) ...to here |...... | 339 | if (value == NULL) | | ~ | | | | | (4) following 'false' branch (when 'ivalue' is non-NULL)... |...... | 344 | switch (type) | | ~~~~~~ | | | | | (5) ...to here | | (6) following 'case 3:, case 21:' branch... |...... | 380 | case ASN1_ETYPE_INTEGER: | | ~~~~ | | | | | (7) ...to here | 381 | case ASN1_ETYPE_ENUMERATED: | 382 | if (len == 0) | | ~ | | | | | (8) following 'true' branch... | 383 | { | 384 | if ((c_isdigit (value[0])) || (value[0] == '-')) | | ~~~~~~~~ | | | | | (9) ...to here | 'asn1_write_value': event 10 | |./gl/c-ctype.h:235:3: | 235 | switch (c) | | ^~~~~~ | | | | | (10) following 'false' branch... | 'asn1_write_value': events 11-18 | |element.c:384:38: | 384 | if ((c_isdigit (value[0])) || (value[0] == '-')) | | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ | | | | | (11) ...to here | | (12) following 'false' branch... |...... | 395 | if (!(node->type & CONST_LIST)) | | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | | (13) ...to here | | (14) following 'false' branch... | 396 | return ASN1_VALUE_NOT_VALID; | 397 | p = node->down; | | ~~~~~~~~~~~~~~ | | | | | (15) ...to here | 398 | while (p) | | ~ | | | | | (16) following 'true' branch (when 'p' is non-NULL)... | 399 | { | 400 | if (type_field (p->type) == ASN1_ETYPE_CONSTANT) | | ~~~~~~~~~~~~~~~~~~~~~ | | || | | |(17) ...to here | | (18) following 'true' branch... | 'asn1_write_value': event 19 | | 402 | if (!_asn1_strcmp (p->name, value)) | | ^ | | | | | (19) ...to here ./int.h:116:49: note: in definition of macro '_asn1_strcmp' | 116 | # define _asn1_strcmp(a,b) strcmp((const char *)a, (const char *)b) | | ^ | 'asn1_write_value': events 20-25 | |element.c:402:26: | 402 | if (!_asn1_strcmp (p->name, value)) | | ^ | | | | | (20) following 'true' branch (when the strings are equal)... | 403 | { | 404 | value_temp = malloc (SIZEOF_UNSIGNED_LONG_INT); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (21) ...to here | | (22) region created on heap here | 405 | if (value_temp == NULL) | | ~ | | | | | (23) following 'false' branch (when 'value_temp' is non-NULL)... |...... | 408 | _asn1_convert_integer (p->value, | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | | (24) ...to here | | (25) calling '_asn1_convert_integer' from 'asn1_write_value' | 409 |  value_temp, | | ~~~~~~~~~~~ | 410 |  SIZEOF_UNSIGNED_LONG_INT, | | ~~~~~~~~~~~~~~~~~~~~~~~~~ | 411 |  &len); | | ~~~~~ | +--> '_asn1_convert_integer': event 26 | | 78 | _asn1_convert_integer (const unsigned char *value, unsigned char *value_out, | | ^~~~~~~~~~~~~~~~~~~~~ | | | | | (26) entry to '_asn1_convert_integer' | '_asn1_convert_integer': events 27-30 | | 88 | for (k = 0; k < SIZEOF_UNSIGNED_LONG_INT; k++) | 89 | { | 90 | val[SIZEOF_UNSIGNED_LONG_INT - k - 1] = (valtmp >> (8 * k)) & 0xFF; | | ~~~~~~~ | | | | | (28) ...to here |...... | 98 | for (k = 0; k < SIZEOF_UNSIGNED_LONG_INT - 1; k++) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (29) following 'true' branch (when 'k != 7')... | 99 | { | 100 | if (negative && (val[k] != 0xFF)) | | ~ | | | | | (30) ...to here | <------+ | 'asn1_write_value': events 31-38 | | 408 | _asn1_convert_integer (p->value, | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (31) returning to 'asn1_write_value' from '_asn1_convert_integer' | 409 |  value_temp, | | ~~~~~~~~~~~ | 410 |  SIZEOF_UNSIGNED_LONG_INT, | | ~~~~~~~~~~~~~~~~~~~~~~~~~ | 411 |  &len); | | ~~~~~ |...... | 440 | for (k = 0; k < len - 1; k++) | | ~~~~~~~~~~~ ~~~ | | | | | | | (35) ...to here | | (32) following 'true' branch... | | (36) following 'true' branch... | 441 | if (negative && (value_temp[k] != 0xFF)) | | ~ ~~~~~~~~~~~~~ | | | | | | | (38) use of uninitialized value '*value_temp_168 + _45' here | | (33) ...to here | | (37) ...to here | 442 | break; | 443 | else if (!negative && value_temp[k]) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (34) following 'false' branch... | element.c:443:41: warning: use of uninitialized value '*value_temp_168 + _48' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 443 | else if (!negative && value_temp[k]) | ~~~~~~~~~~^~~ 'asn1_write_value': events 1-9 | | 302 | asn1_write_value (asn1_node node_root, const char *name, | | ^~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_write_value' |...... | 313 | if (node == NULL) | | ~ | | | | | (2) following 'false' branch... |...... | 316 | if ((node->type & CONST_OPTION) && (value == NULL) && (len == 0)) | | ~~~~~~~~~~ | | | | | (3) ...to here |...... | 339 | if (value == NULL) | | ~ | | | | | (4) following 'false' branch (when 'ivalue' is non-NULL)... |...... | 344 | switch (type) | | ~~~~~~ | | | | | (5) ...to here | | (6) following 'case 3:, case 21:' branch... |...... | 380 | case ASN1_ETYPE_INTEGER: | | ~~~~ | | | | | (7) ...to here | 381 | case ASN1_ETYPE_ENUMERATED: | 382 | if (len == 0) | | ~ | | | | | (8) following 'true' branch... | 383 | { | 384 | if ((c_isdigit (value[0])) || (value[0] == '-')) | | ~~~~~~~~ | | | | | (9) ...to here | 'asn1_write_value': event 10 | |./gl/c-ctype.h:235:3: | 235 | switch (c) | | ^~~~~~ | | | | | (10) following 'false' branch... | 'asn1_write_value': events 11-18 | |element.c:384:38: | 384 | if ((c_isdigit (value[0])) || (value[0] == '-')) | | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ | | | | | (11) ...to here | | (12) following 'false' branch... |...... | 395 | if (!(node->type & CONST_LIST)) | | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | | (13) ...to here | | (14) following 'false' branch... | 396 | return ASN1_VALUE_NOT_VALID; | 397 | p = node->down; | | ~~~~~~~~~~~~~~ | | | | | (15) ...to here | 398 | while (p) | | ~ | | | | | (16) following 'true' branch (when 'p' is non-NULL)... | 399 | { | 400 | if (type_field (p->type) == ASN1_ETYPE_CONSTANT) | | ~~~~~~~~~~~~~~~~~~~~~ | | || | | |(17) ...to here | | (18) following 'true' branch... | 'asn1_write_value': event 19 | | 402 | if (!_asn1_strcmp (p->name, value)) | | ^ | | | | | (19) ...to here ./int.h:116:49: note: in definition of macro '_asn1_strcmp' | 116 | # define _asn1_strcmp(a,b) strcmp((const char *)a, (const char *)b) | | ^ | 'asn1_write_value': events 20-25 | |element.c:402:26: | 402 | if (!_asn1_strcmp (p->name, value)) | | ^ | | | | | (20) following 'true' branch (when the strings are equal)... | 403 | { | 404 | value_temp = malloc (SIZEOF_UNSIGNED_LONG_INT); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (21) ...to here | | (22) region created on heap here | 405 | if (value_temp == NULL) | | ~ | | | | | (23) following 'false' branch (when 'value_temp' is non-NULL)... |...... | 408 | _asn1_convert_integer (p->value, | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | | (24) ...to here | | (25) calling '_asn1_convert_integer' from 'asn1_write_value' | 409 |  value_temp, | | ~~~~~~~~~~~ | 410 |  SIZEOF_UNSIGNED_LONG_INT, | | ~~~~~~~~~~~~~~~~~~~~~~~~~ | 411 |  &len); | | ~~~~~ | +--> '_asn1_convert_integer': event 26 | | 78 | _asn1_convert_integer (const unsigned char *value, unsigned char *value_out, | | ^~~~~~~~~~~~~~~~~~~~~ | | | | | (26) entry to '_asn1_convert_integer' | '_asn1_convert_integer': events 27-30 | | 88 | for (k = 0; k < SIZEOF_UNSIGNED_LONG_INT; k++) | 89 | { | 90 | val[SIZEOF_UNSIGNED_LONG_INT - k - 1] = (valtmp >> (8 * k)) & 0xFF; | | ~~~~~~~ | | | | | (28) ...to here |...... | 98 | for (k = 0; k < SIZEOF_UNSIGNED_LONG_INT - 1; k++) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (29) following 'true' branch (when 'k != 7')... | 99 | { | 100 | if (negative && (val[k] != 0xFF)) | | ~ | | | | | (30) ...to here | <------+ | 'asn1_write_value': events 31-36 | | 408 | _asn1_convert_integer (p->value, | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (31) returning to 'asn1_write_value' from '_asn1_convert_integer' | 409 |  value_temp, | | ~~~~~~~~~~~ | 410 |  SIZEOF_UNSIGNED_LONG_INT, | | ~~~~~~~~~~~~~~~~~~~~~~~~~ | 411 |  &len); | | ~~~~~ |...... | 440 | for (k = 0; k < len - 1; k++) | | ~~~~~~~~~~~ | | | | | (32) following 'true' branch... | 441 | if (negative && (value_temp[k] != 0xFF)) | | ~ | | | | | (33) ...to here | | (34) following 'false' branch (when 'negative == 0')... | 442 | break; | 443 | else if (!negative && value_temp[k]) | | ~~~~~~~~~~~~~ | | | | | (35) ...to here | | (36) use of uninitialized value '*value_temp_168 + _48' here | element.c:443:41: warning: use of uninitialized value '*value_temp_168 + _48' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 443 | else if (!negative && value_temp[k]) | ~~~~~~~~~~^~~ 'asn1_write_value': events 1-9 | | 302 | asn1_write_value (asn1_node node_root, const char *name, | | ^~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_write_value' |...... | 313 | if (node == NULL) | | ~ | | | | | (2) following 'false' branch... |...... | 316 | if ((node->type & CONST_OPTION) && (value == NULL) && (len == 0)) | | ~~~~~~~~~~ | | | | | (3) ...to here |...... | 339 | if (value == NULL) | | ~ | | | | | (4) following 'false' branch (when 'ivalue' is non-NULL)... |...... | 344 | switch (type) | | ~~~~~~ | | | | | (5) ...to here | | (6) following 'case 3:, case 21:' branch... |...... | 380 | case ASN1_ETYPE_INTEGER: | | ~~~~ | | | | | (7) ...to here | 381 | case ASN1_ETYPE_ENUMERATED: | 382 | if (len == 0) | | ~ | | | | | (8) following 'true' branch... | 383 | { | 384 | if ((c_isdigit (value[0])) || (value[0] == '-')) | | ~~~~~~~~ | | | | | (9) ...to here | 'asn1_write_value': event 10 | |./gl/c-ctype.h:235:3: | 235 | switch (c) | | ^~~~~~ | | | | | (10) following 'false' branch... | 'asn1_write_value': events 11-23 | |element.c:384:38: | 384 | if ((c_isdigit (value[0])) || (value[0] == '-')) | | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ | | | | | (11) ...to here | | (12) following 'false' branch... |...... | 395 | if (!(node->type & CONST_LIST)) | | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | | (13) ...to here | | (14) following 'false' branch... | 396 | return ASN1_VALUE_NOT_VALID; | 397 | p = node->down; | | ~~~~~~~~~~~~~~ | | | | | (15) ...to here | 398 | while (p) | | ~ | | | | | (16) following 'true' branch (when 'p' is non-NULL)... | | (18) following 'true' branch (when 'p' is non-NULL)... | 399 | { | 400 | if (type_field (p->type) == ASN1_ETYPE_CONSTANT) | | ~~~~~~~~~~~~~~~~~~~~ | | | | | (17) ...to here | | (19) ...to here |...... | 404 | value_temp = malloc (SIZEOF_UNSIGNED_LONG_INT); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (20) region created on heap here | 405 | if (value_temp == NULL) | | ~ | | | | | (21) following 'false' branch (when 'value_temp' is non-NULL)... |...... | 408 | _asn1_convert_integer (p->value, | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | | (22) ...to here | | (23) calling '_asn1_convert_integer' from 'asn1_write_value' | 409 |  value_temp, | | ~~~~~~~~~~~ | 410 |  SIZEOF_UNSIGNED_LONG_INT, | | ~~~~~~~~~~~~~~~~~~~~~~~~~ | 411 |  &len); | | ~~~~~ | +--> '_asn1_convert_integer': event 24 | | 78 | _asn1_convert_integer (const unsigned char *value, unsigned char *value_out, | | ^~~~~~~~~~~~~~~~~~~~~ | | | | | (24) entry to '_asn1_convert_integer' | '_asn1_convert_integer': events 25-28 | | 88 | for (k = 0; k < SIZEOF_UNSIGNED_LONG_INT; k++) | 89 | { | 90 | val[SIZEOF_UNSIGNED_LONG_INT - k - 1] = (valtmp >> (8 * k)) & 0xFF; | | ~~~~~~~ | | | | | (26) ...to here |...... | 98 | for (k = 0; k < SIZEOF_UNSIGNED_LONG_INT - 1; k++) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (27) following 'true' branch (when 'k != 7')... | 99 | { | 100 | if (negative && (val[k] != 0xFF)) | | ~ | | | | | (28) ...to here | <------+ | 'asn1_write_value': events 29-34 | | 408 | _asn1_convert_integer (p->value, | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (29) returning to 'asn1_write_value' from '_asn1_convert_integer' | 409 |  value_temp, | | ~~~~~~~~~~~ | 410 |  SIZEOF_UNSIGNED_LONG_INT, | | ~~~~~~~~~~~~~~~~~~~~~~~~~ | 411 |  &len); | | ~~~~~ |...... | 440 | for (k = 0; k < len - 1; k++) | | ~~~~~~~~~~~ | | | | | (30) following 'true' branch... | 441 | if (negative && (value_temp[k] != 0xFF)) | | ~ | | | | | (31) ...to here | | (32) following 'false' branch (when 'negative == 0')... | 442 | break; | 443 | else if (!negative && value_temp[k]) | | ~~~~~~~~~~~~~ | | | | | (33) ...to here | | (34) use of uninitialized value '*value_temp_168 + _48' here | element.c:443:41: warning: use of uninitialized value '*value_temp_168 + _48' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 443 | else if (!negative && value_temp[k]) | ~~~~~~~~~~^~~ 'asn1_write_value': events 1-9 | | 302 | asn1_write_value (asn1_node node_root, const char *name, | | ^~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_write_value' |...... | 313 | if (node == NULL) | | ~ | | | | | (2) following 'false' branch... |...... | 316 | if ((node->type & CONST_OPTION) && (value == NULL) && (len == 0)) | | ~~~~~~~~~~ | | | | | (3) ...to here |...... | 339 | if (value == NULL) | | ~ | | | | | (4) following 'false' branch (when 'ivalue' is non-NULL)... |...... | 344 | switch (type) | | ~~~~~~ | | | | | (5) ...to here | | (6) following 'case 3:, case 21:' branch... |...... | 380 | case ASN1_ETYPE_INTEGER: | | ~~~~ | | | | | (7) ...to here | 381 | case ASN1_ETYPE_ENUMERATED: | 382 | if (len == 0) | | ~ | | | | | (8) following 'true' branch... | 383 | { | 384 | if ((c_isdigit (value[0])) || (value[0] == '-')) | | ~~~~~~~~ | | | | | (9) ...to here | 'asn1_write_value': event 10 | |./gl/c-ctype.h:235:3: | 235 | switch (c) | | ^~~~~~ | | | | | (10) following 'false' branch... | 'asn1_write_value': events 11-18 | |element.c:384:38: | 384 | if ((c_isdigit (value[0])) || (value[0] == '-')) | | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ | | | | | (11) ...to here | | (12) following 'false' branch... |...... | 395 | if (!(node->type & CONST_LIST)) | | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | | (13) ...to here | | (14) following 'false' branch... | 396 | return ASN1_VALUE_NOT_VALID; | 397 | p = node->down; | | ~~~~~~~~~~~~~~ | | | | | (15) ...to here | 398 | while (p) | | ~ | | | | | (16) following 'true' branch (when 'p' is non-NULL)... | 399 | { | 400 | if (type_field (p->type) == ASN1_ETYPE_CONSTANT) | | ~~~~~~~~~~~~~~~~~~~~~ | | || | | |(17) ...to here | | (18) following 'true' branch... | 'asn1_write_value': event 19 | | 402 | if (!_asn1_strcmp (p->name, value)) | | ^ | | | | | (19) ...to here ./int.h:116:49: note: in definition of macro '_asn1_strcmp' | 116 | # define _asn1_strcmp(a,b) strcmp((const char *)a, (const char *)b) | | ^ | 'asn1_write_value': events 20-25 | |element.c:402:26: | 402 | if (!_asn1_strcmp (p->name, value)) | | ^ | | | | | (20) following 'true' branch (when the strings are equal)... | 403 | { | 404 | value_temp = malloc (SIZEOF_UNSIGNED_LONG_INT); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (21) ...to here | | (22) region created on heap here | 405 | if (value_temp == NULL) | | ~ | | | | | (23) following 'false' branch (when 'value_temp' is non-NULL)... |...... | 408 | _asn1_convert_integer (p->value, | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | | (24) ...to here | | (25) calling '_asn1_convert_integer' from 'asn1_write_value' | 409 |  value_temp, | | ~~~~~~~~~~~ | 410 |  SIZEOF_UNSIGNED_LONG_INT, | | ~~~~~~~~~~~~~~~~~~~~~~~~~ | 411 |  &len); | | ~~~~~ | +--> '_asn1_convert_integer': event 26 | | 78 | _asn1_convert_integer (const unsigned char *value, unsigned char *value_out, | | ^~~~~~~~~~~~~~~~~~~~~ | | | | | (26) entry to '_asn1_convert_integer' | '_asn1_convert_integer': events 27-30 | | 88 | for (k = 0; k < SIZEOF_UNSIGNED_LONG_INT; k++) | 89 | { | 90 | val[SIZEOF_UNSIGNED_LONG_INT - k - 1] = (valtmp >> (8 * k)) & 0xFF; | | ~~~~~~~ | | | | | (28) ...to here |...... | 98 | for (k = 0; k < SIZEOF_UNSIGNED_LONG_INT - 1; k++) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (29) following 'true' branch (when 'k != 7')... | 99 | { | 100 | if (negative && (val[k] != 0xFF)) | | ~ | | | | | (30) ...to here | <------+ | 'asn1_write_value': events 31-38 | | 408 | _asn1_convert_integer (p->value, | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (31) returning to 'asn1_write_value' from '_asn1_convert_integer' | 409 |  value_temp, | | ~~~~~~~~~~~ | 410 |  SIZEOF_UNSIGNED_LONG_INT, | | ~~~~~~~~~~~~~~~~~~~~~~~~~ | 411 |  &len); | | ~~~~~ |...... | 440 | for (k = 0; k < len - 1; k++) | | ~~~~~~~~~~~ ~~~ | | | | | | | (35) ...to here | | (32) following 'true' branch... | | (36) following 'true' branch... | 441 | if (negative && (value_temp[k] != 0xFF)) | | ~ | | | | | (33) ...to here | | (37) ...to here | 442 | break; | 443 | else if (!negative && value_temp[k]) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | | (38) use of uninitialized value '*value_temp_168 + _48' here | | (34) following 'false' branch... | ASN1.c: In function '_asn1_yyparse': ASN1.c:1851:9: warning: use of uninitialized value '*yyvsp_410 + _41' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 1851 | yyval = yyvsp[1-yylen]; | ~~~~~~^~~~~~~~~~~~~~~~ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1851 | yyval = yyvsp[1-yylen]; | | ~~~~~~~~~~~~~~~~~~~~~~ | | | | | (21) use of uninitialized value '*yyvsp_410 + _41' here | ASN1.y:154:98: warning: use of uninitialized value '(((char *)yyvsp + 16))[256204778801521545].constant' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 154 | {$$=_asn1_add_static_node(&e_list, ASN1_ETYPE_DEFINITIONS|$3); | ^ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-22 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 2:' branch... | 1856 | { | 1857 | case 2: /* definitions: definitions_id DEFINITIONS explicit_implicit TAGS "::=" BEGIN type_constant_list END */ | | ~~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:154:98: | 154 | {$$=_asn1_add_static_node(&e_list, ASN1_ETYPE_DEFINITIONS|$3); | | ^ | | | | | (23) use of uninitialized value '(((char *)yyvsp + 16))[256204778801521545].constant' here | ASN1.y:155:74: warning: use of uninitialized value '(((char *)yyvsp + 16))[256204778801521543].node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 155 | _asn1_set_name($$,_asn1_get_name($1)); | ^ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-22 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 2:' branch... | 1856 | { | 1857 | case 2: /* definitions: definitions_id DEFINITIONS explicit_implicit TAGS "::=" BEGIN type_constant_list END */ | | ~~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:155:74: | 155 | _asn1_set_name($$,_asn1_get_name($1)); | | ^ | | | | | (23) use of uninitialized value '(((char *)yyvsp + 16))[256204778801521543].node' here | ASN1.y:156:21: warning: use of uninitialized value '(((char *)yyvsp + 16))[256204778801521543].node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 156 | _asn1_set_name($1,""); | ^~~~~~~~~~~~~~~~~~~~~~ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-22 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 2:' branch... | 1856 | { | 1857 | case 2: /* definitions: definitions_id DEFINITIONS explicit_implicit TAGS "::=" BEGIN type_constant_list END */ | | ~~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |./parser_aux.h:147:6: | 147 | if (node == NULL) | | ^ | | | | | (23) following 'true' branch... | '_asn1_yyparse': events 24-25 | |ASN1.y:155:21: | 155 | _asn1_set_name($$,_asn1_get_name($1)); | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (24) ...to here | 156 | _asn1_set_name($1,""); | | ~~~~~~~~~~~~~~~~~~~~~~ | | | | | (25) use of uninitialized value '(((char *)yyvsp + 16))[256204778801521543].node' here | ASN1.y:157:21: warning: use of uninitialized value '(((char *)yyvsp + 16))[256204778801521543].node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 157 | _asn1_set_right($1,$7); | ^~~~~~~~~~~~~~~~~~~~~~~ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-22 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 2:' branch... | 1856 | { | 1857 | case 2: /* definitions: definitions_id DEFINITIONS explicit_implicit TAGS "::=" BEGIN type_constant_list END */ | | ~~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |./parser_aux.h:147:6: | 147 | if (node == NULL) | | ^ | | | | | (23) following 'true' branch... | '_asn1_yyparse': events 24-25 | |ASN1.y:155:21: | 155 | _asn1_set_name($$,_asn1_get_name($1)); | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (24) ...to here | 156 | _asn1_set_name($1,""); | 157 | _asn1_set_right($1,$7); | | ~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (25) use of uninitialized value '(((char *)yyvsp + 16))[256204778801521543].node' here | ASN1.y:157:21: warning: use of uninitialized value '(((char *)yyvsp + 16))[256204778801521549].node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 157 | _asn1_set_right($1,$7); | ^~~~~~~~~~~~~~~~~~~~~~~ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-22 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 2:' branch... | 1856 | { | 1857 | case 2: /* definitions: definitions_id DEFINITIONS explicit_implicit TAGS "::=" BEGIN type_constant_list END */ | | ~~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |./parser_aux.h:147:6: | 147 | if (node == NULL) | | ^ | | | | | (23) following 'true' branch... | '_asn1_yyparse': events 24-25 | |ASN1.y:155:21: | 155 | _asn1_set_name($$,_asn1_get_name($1)); | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (24) ...to here | 156 | _asn1_set_name($1,""); | 157 | _asn1_set_right($1,$7); | | ~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (25) use of uninitialized value '(((char *)yyvsp + 16))[256204778801521549].node' here | ASN1.y:158:21: warning: use of uninitialized value '(((char *)yyvsp + 16))[256204778801521543].node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 158 | _asn1_set_down($$,$1); | ^~~~~~~~~~~~~~~~~~~~~~ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-22 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 2:' branch... | 1856 | { | 1857 | case 2: /* definitions: definitions_id DEFINITIONS explicit_implicit TAGS "::=" BEGIN type_constant_list END */ | | ~~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |./parser_aux.h:147:6: | 147 | if (node == NULL) | | ^ | | | | | (23) following 'true' branch... | '_asn1_yyparse': events 24-25 | |ASN1.y:155:21: | 155 | _asn1_set_name($$,_asn1_get_name($1)); | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (24) ...to here |...... | 158 | _asn1_set_down($$,$1); | | ~~~~~~~~~~~~~~~~~~~~~~ | | | | | (25) use of uninitialized value '(((char *)yyvsp + 16))[256204778801521543].node' here | ASN1.y:195:67: warning: use of uninitialized value '*yyvsp.node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 195 | constant_list: constant {$$=$1;} | ^ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 17:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:1957:3: | 1957 | case 17: /* constant_list: constant */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:195:67: | 195 | constant_list: constant {$$=$1;} | | ^ | | | | | (23) use of uninitialized value '*yyvsp.node' here | ASN1.y:196:68: warning: use of uninitialized value '(((char *)yyvsp + 16))[256204778801521548].node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 196 | | constant_list ',' constant {$$=$1; | ^ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 18:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:1963:3: | 1963 | case 18: /* constant_list: constant_list ',' constant */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:196:68: | 196 | | constant_list ',' constant {$$=$1; | | ^ | | | | | (23) use of uninitialized value '(((char *)yyvsp + 16))[256204778801521548].node' here | ASN1.y:197:45: warning: use of uninitialized value '*yyvsp.node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 197 | _asn1_set_right(_asn1_get_last_right($1),$3);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 18:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:1963:3: | 1963 | case 18: /* constant_list: constant_list ',' constant */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:197:45: | 197 | _asn1_set_right(_asn1_get_last_right($1),$3);} | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (23) use of uninitialized value '*yyvsp.node' here | ASN1.y:207:75: warning: use of uninitialized value '*yyvsp.node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 207 | obj_constant_list: obj_constant {$$=$1;} | ^ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 21:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:1985:3: | 1985 | case 21: /* obj_constant_list: obj_constant */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:207:75: | 207 | obj_constant_list: obj_constant {$$=$1;} | | ^ | | | | | (23) use of uninitialized value '*yyvsp.node' here | ASN1.y:208:76: warning: use of uninitialized value '(((char *)yyvsp + 16))[256204778801521549].node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 208 | | obj_constant_list obj_constant {$$=$1; | ^ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 22:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:1991:3: | 1991 | case 22: /* obj_constant_list: obj_constant_list obj_constant */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:208:76: | 208 | | obj_constant_list obj_constant {$$=$1; | | ^ | | | | | (23) use of uninitialized value '(((char *)yyvsp + 16))[256204778801521549].node' here | ASN1.y:209:53: warning: use of uninitialized value '*yyvsp.node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 209 | _asn1_set_right(_asn1_get_last_right($1),$2);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 22:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:1991:3: | 1991 | case 22: /* obj_constant_list: obj_constant_list obj_constant */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:209:53: | 209 | _asn1_set_right(_asn1_get_last_right($1),$2);} | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (23) use of uninitialized value '*yyvsp.node' here | ASN1.y:219:104: warning: use of uninitialized value '(((char *)yyvsp + 16))[256204778801521548].constant' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 219 | | '[' class NUM ']' {$$=_asn1_add_static_node(&e_list, ASN1_ETYPE_TAG | $2); | ^ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 27:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:2023:3: | 2023 | case 27: /* tag_type: '[' class NUM ']' */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:219:104: | 219 | | '[' class NUM ']' {$$=_asn1_add_static_node(&e_list, ASN1_ETYPE_TAG | $2); | | ^ | | | | | (23) use of uninitialized value '(((char *)yyvsp + 16))[256204778801521548].constant' here | ASN1.y:223:50: warning: use of uninitialized value '*yyvsp.node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 223 | tag : tag_type {$$=$1;} | ^ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 28:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:2030:3: | 2030 | case 28: /* tag: tag_type */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:223:50: | 223 | tag : tag_type {$$=$1;} | | ^ | | | | | (23) use of uninitialized value '*yyvsp.node' here | ASN1.y:224:41: warning: use of uninitialized value '(((char *)yyvsp + 16))[256204778801521549].node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 224 | | tag_type EXPLICIT {$$=_asn1_mod_type($1,CONST_EXPLICIT);} | ^~~~~~~~~~~~~~~~~~~~~~~~~ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 29:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:2036:3: | 2036 | case 29: /* tag: tag_type EXPLICIT */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:224:41: | 224 | | tag_type EXPLICIT {$$=_asn1_mod_type($1,CONST_EXPLICIT);} | | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (23) use of uninitialized value '(((char *)yyvsp + 16))[256204778801521549].node' here | ASN1.y:225:41: warning: use of uninitialized value '(((char *)yyvsp + 16))[256204778801521549].node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 225 | | tag_type IMPLICIT {$$=_asn1_mod_type($1,CONST_IMPLICIT);} | ^~~~~~~~~~~~~~~~~~~~~~~~~ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 30:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:2042:3: | 2042 | case 30: /* tag: tag_type IMPLICIT */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:225:41: | 225 | | tag_type IMPLICIT {$$=_asn1_mod_type($1,CONST_IMPLICIT);} | | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (23) use of uninitialized value '(((char *)yyvsp + 16))[256204778801521549].node' here | ASN1.y:242:42: warning: use of uninitialized value '(((char *)yyvsp + 16))[256204778801521549].node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 242 | _asn1_set_down($$,$3);} | ^~~~~~~~~~~~~~~~~~~~~~~ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 37:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:2073:3: | 2073 | case 37: /* integer_def: INTEGER '{' constant_list '}' */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:242:42: | 242 | _asn1_set_down($$,$3);} | | ^~~~~~~~~~~~~~~~~~~~~~~ | | | | | (23) use of uninitialized value '(((char *)yyvsp + 16))[256204778801521549].node' here | ASN1.y:243:70: warning: use of uninitialized value '(((char *)yyvsp + 16))[256204778801521547].node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 243 | | integer_def'(' pos_neg_list ')' {$$=$1;} | ^ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 38:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:2080:3: | 2080 | case 38: /* integer_def: integer_def '(' pos_neg_list ')' */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:243:70: | 243 | | integer_def'(' pos_neg_list ')' {$$=$1;} | | ^ | | | | | (23) use of uninitialized value '(((char *)yyvsp + 16))[256204778801521547].node' here | ASN1.y:245:65: warning: use of uninitialized value '(((char *)yyvsp + 16))[256204778801521544].node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 245 | {$$=$1;} | ^ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 39:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:2086:3: | 2086 | case 39: /* integer_def: integer_def '(' int_identifier '.' '.' int_identifier ')' */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:245:65: | 245 | {$$=$1;} | | ^ | | | | | (23) use of uninitialized value '(((char *)yyvsp + 16))[256204778801521544].node' here | ASN1.y:263:55: warning: use of uninitialized value '*yyvsp.node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 263 | size_def: size_def2 {$$=$1;} | ^ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 45:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:2125:3: | 2125 | case 45: /* size_def: size_def2 */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:263:55: | 263 | size_def: size_def2 {$$=$1;} | | ^ | | | | | (23) use of uninitialized value '*yyvsp.node' here | ASN1.y:264:56: warning: use of uninitialized value '(((char *)yyvsp + 16))[256204778801521549].node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 264 | | '(' size_def2 ')' {$$=$2;} | ^ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 46:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:2131:3: | 2131 | case 46: /* size_def: '(' size_def2 ')' */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:264:56: | 264 | | '(' size_def2 ')' {$$=$2;} | | ^ | | | | | (23) use of uninitialized value '(((char *)yyvsp + 16))[256204778801521549].node' here | ASN1.y:269:43: warning: use of uninitialized value '*yyvsp.node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 269 | _asn1_set_down($$,$2);} | ^~~~~~~~~~~~~~~~~~~~~~~ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 48:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:2143:3: | 2143 | case 48: /* generalstring_def: GeneralString size_def */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:269:43: | 269 | _asn1_set_down($$,$2);} | | ^~~~~~~~~~~~~~~~~~~~~~~ | | | | | (23) use of uninitialized value '*yyvsp.node' here | ASN1.y:274:43: warning: use of uninitialized value '*yyvsp.node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 274 | _asn1_set_down($$,$2);} | ^~~~~~~~~~~~~~~~~~~~~~~ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 50:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:2156:3: | 2156 | case 50: /* numericstring_def: NumericString size_def */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:274:43: | 274 | _asn1_set_down($$,$2);} | | ^~~~~~~~~~~~~~~~~~~~~~~ | | | | | (23) use of uninitialized value '*yyvsp.node' here | ASN1.y:279:43: warning: use of uninitialized value '*yyvsp.node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 279 | _asn1_set_down($$,$2);} | ^~~~~~~~~~~~~~~~~~~~~~~ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 52:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:2169:3: | 2169 | case 52: /* ia5string_def: IA5String size_def */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:279:43: | 279 | _asn1_set_down($$,$2);} | | ^~~~~~~~~~~~~~~~~~~~~~~ | | | | | (23) use of uninitialized value '*yyvsp.node' here | ASN1.y:284:43: warning: use of uninitialized value '*yyvsp.node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 284 | _asn1_set_down($$,$2);} | ^~~~~~~~~~~~~~~~~~~~~~~ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 54:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:2182:3: | 2182 | case 54: /* teletexstring_def: TeletexString size_def */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:284:43: | 284 | _asn1_set_down($$,$2);} | | ^~~~~~~~~~~~~~~~~~~~~~~ | | | | | (23) use of uninitialized value '*yyvsp.node' here | ASN1.y:289:43: warning: use of uninitialized value '*yyvsp.node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 289 | _asn1_set_down($$,$2);} | ^~~~~~~~~~~~~~~~~~~~~~~ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 56:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:2195:3: | 2195 | case 56: /* printablestring_def: PrintableString size_def */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:289:43: | 289 | _asn1_set_down($$,$2);} | | ^~~~~~~~~~~~~~~~~~~~~~~ | | | | | (23) use of uninitialized value '*yyvsp.node' here | ASN1.y:294:43: warning: use of uninitialized value '*yyvsp.node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 294 | _asn1_set_down($$,$2);} | ^~~~~~~~~~~~~~~~~~~~~~~ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 58:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:2208:3: | 2208 | case 58: /* universalstring_def: UniversalString size_def */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:294:43: | 294 | _asn1_set_down($$,$2);} | | ^~~~~~~~~~~~~~~~~~~~~~~ | | | | | (23) use of uninitialized value '*yyvsp.node' here | ASN1.y:299:43: warning: use of uninitialized value '*yyvsp.node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 299 | _asn1_set_down($$,$2);} | ^~~~~~~~~~~~~~~~~~~~~~~ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 60:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:2221:3: | 2221 | case 60: /* bmpstring_def: BMPString size_def */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:299:43: | 299 | _asn1_set_down($$,$2);} | | ^~~~~~~~~~~~~~~~~~~~~~~ | | | | | (23) use of uninitialized value '*yyvsp.node' here | ASN1.y:304:43: warning: use of uninitialized value '*yyvsp.node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 304 | _asn1_set_down($$,$2);} | ^~~~~~~~~~~~~~~~~~~~~~~ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 62:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:2234:3: | 2234 | case 62: /* utf8string_def: UTF8String size_def */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:304:43: | 304 | _asn1_set_down($$,$2);} | | ^~~~~~~~~~~~~~~~~~~~~~~ | | | | | (23) use of uninitialized value '*yyvsp.node' here | ASN1.y:309:43: warning: use of uninitialized value '*yyvsp.node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 309 | _asn1_set_down($$,$2);} | ^~~~~~~~~~~~~~~~~~~~~~~ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 64:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:2247:3: | 2247 | case 64: /* visiblestring_def: VisibleString size_def */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:309:43: | 309 | _asn1_set_down($$,$2);} | | ^~~~~~~~~~~~~~~~~~~~~~~ | | | | | (23) use of uninitialized value '*yyvsp.node' here | ASN1.y:314:44: warning: use of uninitialized value '*yyvsp.node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 314 | _asn1_set_down($$,$3);} | ^~~~~~~~~~~~~~~~~~~~~~~ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 66:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:2260:3: | 2260 | case 66: /* octet_string_def: OCTET STRING size_def */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:314:44: | 314 | _asn1_set_down($$,$3);} | | ^~~~~~~~~~~~~~~~~~~~~~~ | | | | | (23) use of uninitialized value '*yyvsp.node' here | ASN1.y:322:58: warning: use of uninitialized value '*yyvsp.node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 322 | bit_element_list : bit_element {$$=$1;} | ^ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 68:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:2275:3: | 2275 | case 68: /* bit_element_list: bit_element */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:322:58: | 322 | bit_element_list : bit_element {$$=$1;} | | ^ | | | | | (23) use of uninitialized value '*yyvsp.node' here | ASN1.y:323:79: warning: use of uninitialized value '(((char *)yyvsp + 16))[256204778801521548].node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 323 | | bit_element_list ',' bit_element {$$=$1; | ^ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 69:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:2281:3: | 2281 | case 69: /* bit_element_list: bit_element_list ',' bit_element */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:323:79: | 323 | | bit_element_list ',' bit_element {$$=$1; | | ^ | | | | | (23) use of uninitialized value '(((char *)yyvsp + 16))[256204778801521548].node' here | ASN1.y:324:56: warning: use of uninitialized value '*yyvsp.node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 324 | _asn1_set_right(_asn1_get_last_right($1),$3);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 69:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:2281:3: | 2281 | case 69: /* bit_element_list: bit_element_list ',' bit_element */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:324:56: | 324 | _asn1_set_right(_asn1_get_last_right($1),$3);} | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (23) use of uninitialized value '*yyvsp.node' here | ASN1.y:329:39: warning: use of uninitialized value '*yyvsp.node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 329 | _asn1_set_down($$,$3);} | ^~~~~~~~~~~~~~~~~~~~~~~ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 71:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:2294:3: | 2294 | case 71: /* bit_string_def: BIT STRING size_def */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:329:39: | 329 | _asn1_set_down($$,$3);} | | ^~~~~~~~~~~~~~~~~~~~~~~ | | | | | (23) use of uninitialized value '*yyvsp.node' here | ASN1.y:332:33: warning: use of uninitialized value '(((char *)yyvsp + 16))[256204778801521549].node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 332 | _asn1_set_down($$,$4);} | ^~~~~~~~~~~~~~~~~~~~~~~ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 72:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:2301:3: | 2301 | case 72: /* bit_string_def: BIT STRING '{' bit_element_list '}' */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:332:33: | 332 | _asn1_set_down($$,$4);} | | ^~~~~~~~~~~~~~~~~~~~~~~ | | | | | (23) use of uninitialized value '(((char *)yyvsp + 16))[256204778801521549].node' here | ASN1.y:337:33: warning: use of uninitialized value '(((char *)yyvsp + 16))[256204778801521549].node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 337 | _asn1_set_down($$,$3);} | ^~~~~~~~~~~~~~~~~~~~~~~ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 73:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:2308:3: | 2308 | case 73: /* enumerated_def: ENUMERATED '{' bit_element_list '}' */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:337:33: | 337 | _asn1_set_down($$,$3);} | | ^~~~~~~~~~~~~~~~~~~~~~~ | | | | | (23) use of uninitialized value '(((char *)yyvsp + 16))[256204778801521549].node' here | ASN1.y:348:40: warning: use of uninitialized value '*yyvsp.node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 348 | _asn1_set_down($$,$2);} | ^~~~~~~~~~~~~~~~~~~~~~~ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 76:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:2328:3: | 2328 | case 76: /* type_assig_right: IDENTIFIER size_def */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:348:40: | 348 | _asn1_set_down($$,$2);} | | ^~~~~~~~~~~~~~~~~~~~~~~ | | | | | (23) use of uninitialized value '*yyvsp.node' here | ASN1.y:349:62: warning: use of uninitialized value '*yyvsp.node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 349 | | integer_def {$$=$1;} | ^ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 77:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:2336:3: | 2336 | case 77: /* type_assig_right: integer_def */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:349:62: | 349 | | integer_def {$$=$1;} | | ^ | | | | | (23) use of uninitialized value '*yyvsp.node' here | ASN1.y:350:62: warning: use of uninitialized value '*yyvsp.node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 350 | | enumerated_def {$$=$1;} | ^ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 78:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:2342:3: | 2342 | case 78: /* type_assig_right: enumerated_def */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:350:62: | 350 | | enumerated_def {$$=$1;} | | ^ | | | | | (23) use of uninitialized value '*yyvsp.node' here | ASN1.y:351:62: warning: use of uninitialized value '*yyvsp.node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 351 | | boolean_def {$$=$1;} | ^ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 79:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:2348:3: | 2348 | case 79: /* type_assig_right: boolean_def */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:351:62: | 351 | | boolean_def {$$=$1;} | | ^ | | | | | (23) use of uninitialized value '*yyvsp.node' here | ASN1.y:353:62: warning: use of uninitialized value '*yyvsp.node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 353 | | octet_string_def {$$=$1;} | ^ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 81:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:2354:3: | 2354 | case 81: /* type_assig_right: octet_string_def */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:353:62: | 353 | | octet_string_def {$$=$1;} | | ^ | | | | | (23) use of uninitialized value '*yyvsp.node' here | ASN1.y:354:62: warning: use of uninitialized value '*yyvsp.node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 354 | | bit_string_def {$$=$1;} | ^ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 82:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:2360:3: | 2360 | case 82: /* type_assig_right: bit_string_def */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:354:62: | 354 | | bit_string_def {$$=$1;} | | ^ | | | | | (23) use of uninitialized value '*yyvsp.node' here | ASN1.y:355:62: warning: use of uninitialized value '*yyvsp.node' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 355 | | generalstring_def {$$=$1;} | ^ 'asn1_parser2array': events 1-2 | |ASN1.y:787:1: | 787 | asn1_parser2array (const char *inputFileName, const char *outputFileName, | | ^~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'asn1_parser2array' |...... | 801 | if (file_asn1 == NULL) | | ~ | | | | | (2) following 'false' branch... | 'asn1_parser2array': event 3 | | 807 | result_parse = ASN1_SUCCESS; | 'asn1_parser2array': event 4 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse ASN1.y:810:3: note: in expansion of macro 'yyparse' | 810 | yyparse (); | | ^~~~~~~ | +--> '_asn1_yyparse': event 5 | |ASN1.c:69:25: | 69 | #define yyparse _asn1_yyparse | | ^~~~~~~~~~~~~ | | | | | (5) entry to '_asn1_yyparse' ASN1.c:1615:1: note: in expansion of macro 'yyparse' | 1615 | yyparse (void) | | ^~~~~~~ | '_asn1_yyparse': events 6-11 | | 1633 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (7) following 'false' branch... |...... | 1746 | if (yystate == YYFINAL) | | ~ | | | | | (8) ...to here | | (9) following 'false' branch (when 'yystate != 5')... |...... | 1749 | goto yybackup; | | ~~~~ | | | | | (10) ...to here |...... | 1761 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (11) following 'false' branch (when 'yyn != -140')... | '_asn1_yyparse': events 12-13 | | 1767 | if (yychar == _ASN1_YYEMPTY) | | ~ | | | | | (13) following 'true' branch... | '_asn1_yyparse': event 14 | |ASN1.c:70:25: | 70 | #define yylex _asn1_yylex ASN1.c:1770:16: note: in expansion of macro 'yylex' | 1770 | yychar = yylex (); | | ^~~~~ | '_asn1_yyparse': event 15 | | 1779 | else if (yychar == _ASN1_YYerror) | | ^ | | | | | (15) following 'false' branch... | '_asn1_yyparse': event 16 | | 780 | (0 <= (YYX) && (YYX) <= YYMAXUTOK \ | | ^ | | | | | (16) ...to here ASN1.c:1791:17: note: in expansion of macro 'YYTRANSLATE' | 1791 | yytoken = YYTRANSLATE (yychar); | | ^~~~~~~~~~~ | '_asn1_yyparse': events 17-21 | | 1798 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ^ | | | | | (17) following 'false' branch... | 1799 | goto yydefault; | 1800 | yyn = yytable[yyn]; | | ~~~~~~~~~~~~ | | | | | (18) ...to here | 1801 | if (yyn <= 0) | | ~ | | | | | (19) following 'true' branch (when 'yyn <= 0')... |...... | 1805 | yyn = -yyn; | | ~~~~~~~~~~ | | | | | (20) ...to here |...... | 1855 | switch (yyn) | | ~~~~~~ | | | | | (21) following 'case 83:' branch... | '_asn1_yyparse': event 22 | |ASN1.c:2366:3: | 2366 | case 83: /* type_assig_right: generalstring_def */ | | ^~~~ | | | | | (22) ...to here | '_asn1_yyparse': event 23 | |ASN1.y:355:62: | 355 | | generalstring_def {$$=$1;} | | ^ | | | | | (23) use of uninitialized value '*yyvsp.node' here | In file included from ASN1.y:31: ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ ASN1.y:158:21: note: called from here 158 | _asn1_set_down($$,$1); | ^~~~~~~~~~~~~~~~~~~~~~ ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ ASN1.y:242:42: note: called from here 242 | _asn1_set_down($$,$3);} | ^~~~~~~~~~~~~~~~~~~~~~~ ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ ASN1.y:269:43: note: called from here 269 | _asn1_set_down($$,$2);} | ^~~~~~~~~~~~~~~~~~~~~~~ ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ ASN1.y:274:43: note: called from here 274 | _asn1_set_down($$,$2);} | ^~~~~~~~~~~~~~~~~~~~~~~ ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ ASN1.y:279:43: note: called from here 279 | _asn1_set_down($$,$2);} | ^~~~~~~~~~~~~~~~~~~~~~~ ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ ASN1.y:284:43: note: called from here 284 | _asn1_set_down($$,$2);} | ^~~~~~~~~~~~~~~~~~~~~~~ ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ ASN1.y:289:43: note: called from here 289 | _asn1_set_down($$,$2);} | ^~~~~~~~~~~~~~~~~~~~~~~ ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ ASN1.y:294:43: note: called from here 294 | _asn1_set_down($$,$2);} | ^~~~~~~~~~~~~~~~~~~~~~~ ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ ASN1.y:299:43: note: called from here 299 | _asn1_set_down($$,$2);} | ^~~~~~~~~~~~~~~~~~~~~~~ ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ ASN1.y:304:43: note: called from here 304 | _asn1_set_down($$,$2);} | ^~~~~~~~~~~~~~~~~~~~~~~ ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ ASN1.y:309:43: note: called from here 309 | _asn1_set_down($$,$2);} | ^~~~~~~~~~~~~~~~~~~~~~~ ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ ASN1.y:314:44: note: called from here 314 | _asn1_set_down($$,$3);} | ^~~~~~~~~~~~~~~~~~~~~~~ ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ ASN1.y:329:39: note: called from here 329 | _asn1_set_down($$,$3);} | ^~~~~~~~~~~~~~~~~~~~~~~ ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ ASN1.y:332:33: note: called from here 332 | _asn1_set_down($$,$4);} | ^~~~~~~~~~~~~~~~~~~~~~~ ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ ASN1.y:337:33: note: called from here 337 | _asn1_set_down($$,$3);} | ^~~~~~~~~~~~~~~~~~~~~~~ ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ ASN1.y:348:40: note: called from here 348 | _asn1_set_down($$,$2);} | ^~~~~~~~~~~~~~~~~~~~~~~ ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ ASN1.y:375:48: note: called from here 375 | _asn1_set_down($$,$1);} | ^~~~~~~~~~~~~~~~~~~~~~~ ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ ASN1.y:381:56: note: called from here 381 | _asn1_set_down($$,$2);} | ^~~~~~~~~~~~~~~~~~~~~~~ ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ ASN1.y:394:47: note: called from here 394 | _asn1_set_down($$,$3);} | ^~~~~~~~~~~~~~~~~~~~~~~ ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ ASN1.y:396:47: note: called from here 396 | _asn1_set_down($$,$3);} | ^~~~~~~~~~~~~~~~~~~~~~~ ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ ASN1.y:399:45: note: called from here 399 | _asn1_set_down($$,$2);} | ^~~~~~~~~~~~~~~~~~~~~~~ ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ ASN1.y:403:38: note: called from here 403 | _asn1_set_down($$,$3);} | ^~~~~~~~~~~~~~~~~~~~~~~ ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ ASN1.y:405:38: note: called from here 405 | _asn1_set_down($$,$3);} | ^~~~~~~~~~~~~~~~~~~~~~~ ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ ASN1.y:408:40: note: called from here 408 | _asn1_set_down($$,$2);} | ^~~~~~~~~~~~~~~~~~~~~~~ ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ ASN1.y:412:46: note: called from here 412 | _asn1_set_down($$,$3);} | ^~~~~~~~~~~~~~~~~~~~~~~ ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ ASN1.y:417:41: note: called from here 417 | _asn1_set_down($$,_asn1_add_static_node(&e_list, ASN1_ETYPE_CONSTANT)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ ASN1.y:444:26: note: called from here 444 | _asn1_set_down($$,$6);} | ^~~~~~~~~~~~~~~~~~~~~~~ ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ ASN1.y:449:26: note: called from here 449 | _asn1_set_down($$,$5);} | ^~~~~~~~~~~~~~~~~~~~~~~ ./parser_aux.h:111:1: warning: inlining failed in call to '_asn1_set_down.isra': call is unlikely and code size would grow [-Winline] 111 | _asn1_set_down (asn1_node node, asn1_node down) | ^~~~~~~~~~~~~~ ASN1.y:474:59: note: called from here 474 | _asn1_set_down($$,$3); | ^~~~~~~~~~~~~~~~~~~~~~ CCLD libtasn1.la make[3]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib' make[2]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib' Making all in src make[2]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src' Making all in gl make[3]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src/gl' GEN alloca.h GEN fcntl.h GEN getopt.h GEN getopt-cdefs.h GEN inttypes.h GEN limits.h GEN stdbool.h GEN stdckdint.h GEN stdint.h GEN stdio.h GEN stdlib.h GEN string.h GEN sys/stat.h GEN sys/time.h GEN sys/types.h GEN time.h GEN unistd.h GEN wchar.h make all-recursive make[4]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src/gl' make[5]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src/gl' CC libsgl_la-cloexec.lo CC libsgl_la-fcntl.lo CC libsgl_la-fd-hook.lo CC libsgl_la-free.lo CC libsgl_la-getopt.lo CC libsgl_la-getopt1.lo CC libsgl_la-gettime.lo CC libsgl_la-malloca.lo CC libsgl_la-progname.lo CC libsgl_la-read-file.lo CC libsgl_la-stat-time.lo CC libsgl_la-timespec.lo CC libsgl_la-unistd.lo CC libsgl_la-version-etc.lo CC libsgl_la-version-etc-fsf.lo CCLD libsgl.la make[5]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src/gl' make[4]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src/gl' make[3]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src/gl' make[3]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src' CC asn1Parser.o CC asn1Coding.o CC asn1Decoding.o CC benchmark.o asn1Coding.c: In function 'main': asn1Coding.c:344:34: warning: dereference of NULL 'der' [CWE-476] [-Wanalyzer-null-dereference] 344 | fprintf (stderr, "%02x ", der[k]); | ~~~^~~ 'main': events 1-10 | | 207 | if (optind == argc || optind == argc - 1) | | ^ | | | | | (1) following 'false' branch... |...... | 214 | inputFileAsnName = strdup (argv[optind]); | | ~ | | | | | (2) ...to here | 215 | if (inputFileAsnName == NULL) | | ~ | | | | | (3) following 'false' branch (when 'inputFileAsnName' is non-NULL)... |...... | 221 | inputFileAssignmentName = strdup (argv[optind + 1]); | | ~ | | | | | (4) ...to here | 222 | if (inputFileAssignmentName == NULL) | | ~ | | | | | (5) following 'false' branch (when 'inputFileAssignmentName' is non-NULL)... |...... | 229 | asn1_parser2tree (inputFileAsnName, &definitions, errorDescription); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (6) ...to here |...... | 248 | if (asn1_result != ASN1_SUCCESS) | | ~ | | | | | (7) following 'false' branch (when 'asn1_result == 0')... |...... | 256 | inputFile = fopen (inputFileAssignmentName, "r"); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (8) ...to here | 257 | | 258 | if (inputFile == NULL) | | ~ | | | | | (9) following 'false' branch (when 'inputFile' is non-NULL)... |...... | 268 | putc ('\n', stderr); | | ~~~~~~~~~~~~~~~~~~~ | | | | | (10) ...to here | 'main': events 11-22 | | 271 | == ASSIGNMENT_SUCCESS) | | ^ | | | | | (11) following 'false' branch (when 'last_ra != 1')... |...... | 301 | if (last_ra != ASSIGNMENT_EOF) | | ~ | | | | | (12) ...to here | | (13) following 'false' branch (when 'last_ra == 3')... |...... | 306 | fclose (inputFile); | | ~~~~~~~~~~~~~~~~~~ | | | | | (14) ...to here |...... | 314 | if (asn1_result == ASN1_MEM_ERROR) | | ~ | | | | | (15) following 'false' branch (when 'asn1_result != 12')... |...... | 325 | fprintf (stderr, "\nCoding: %s\n\n", asn1_strerror (asn1_result)); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (16) ...to here | 326 | if (asn1_result != ASN1_SUCCESS) | | ~ | | | | | (17) following 'false' branch (when 'asn1_result == 0')... |...... | 342 | fprintf (stderr, "-----------------\nNumber of bytes=%i\n", der_len); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (18) ...to here | 343 | for (k = 0; k < der_len; k++) | | ~~~~~~~~~~~ | | | | | (19) following 'true' branch... | 344 | fprintf (stderr, "%02x ", der[k]); | | ~~~~~~ | | | | | (20) ...to here | | (21) 'der' is NULL | | (22) dereference of NULL 'der + (sizetype)k' | asn1Coding.c:372:39: warning: dereference of NULL 'der' [CWE-476] [-Wanalyzer-null-dereference] 372 | fprintf (outputFile, "%c", der[k]); | ~~~^~~ 'main': events 1-2 | | 166 | if (option_result == -1) | | ^ | | | | | (1) following 'false' branch (when 'option_result != -1')... |...... | 169 | switch (option_result) | | ~~~~~~ | | | | | (2) ...to here | 'main': event 3 | | 185 | assert (optarg != NULL); | | ^~~~~~ | | | | | (3) following 'true' branch... | 'main': events 4-5 | | 186 | outputFileName = strdup (optarg); | | ^~~~~~~~~~~~~~~ | | | | | (4) ...to here | 187 | if (outputFileName == NULL) | | ~ | | | | | (5) following 'false' branch... | 'main': event 6 | |cc1: | (6): ...to here | 'main': events 7-25 | | 207 | if (optind == argc || optind == argc - 1) | | ^ | | | | | (7) following 'false' branch... |...... | 214 | inputFileAsnName = strdup (argv[optind]); | | ~ | | | | | (8) ...to here | 215 | if (inputFileAsnName == NULL) | | ~ | | | | | (9) following 'false' branch (when 'inputFileAsnName' is non-NULL)... |...... | 221 | inputFileAssignmentName = strdup (argv[optind + 1]); | | ~ | | | | | (10) ...to here | 222 | if (inputFileAssignmentName == NULL) | | ~ | | | | | (11) following 'false' branch (when 'inputFileAssignmentName' is non-NULL)... |...... | 229 | asn1_parser2tree (inputFileAsnName, &definitions, errorDescription); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (12) ...to here |...... | 248 | if (asn1_result != ASN1_SUCCESS) | | ~ | | | | | (13) following 'false' branch (when 'asn1_result == 0')... |...... | 256 | inputFile = fopen (inputFileAssignmentName, "r"); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (14) ...to here | 257 | | 258 | if (inputFile == NULL) | | ~ | | | | | (15) following 'false' branch (when 'inputFile' is non-NULL)... |...... | 268 | putc ('\n', stderr); | | ~~~~~~~~~~~~~~~~~~~ | | | | | (16) ...to here |...... | 301 | if (last_ra != ASSIGNMENT_EOF) | | ~ | | | | | (17) following 'false' branch (when 'last_ra == 3')... |...... | 306 | fclose (inputFile); | | ~~~~~~~~~~~~~~~~~~ | | | | | (18) ...to here |...... | 314 | if (asn1_result == ASN1_MEM_ERROR) | | ~ | | | | | (19) following 'false' branch (when 'asn1_result != 12')... |...... | 325 | fprintf (stderr, "\nCoding: %s\n\n", asn1_strerror (asn1_result)); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (20) ...to here | 326 | if (asn1_result != ASN1_SUCCESS) | | ~ | | | | | (21) following 'false' branch (when 'asn1_result == 0')... |...... | 342 | fprintf (stderr, "-----------------\nNumber of bytes=%i\n", der_len); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (22) ...to here | 343 | for (k = 0; k < der_len; k++) | | ~~~~~~~~~~~ | | | | | (23) following 'false' branch... | 344 | fprintf (stderr, "%02x ", der[k]); | 345 | fputs ("\n-----------------\n", stderr); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (24) ...to here |...... | 350 | if (!checkSyntaxOnly) | | ~ | | | | | (25) following 'true' branch (when 'checkSyntaxOnly == 0')... | 'main': events 26-29 | | 352 | if (outputFileName == NULL) | | ~ ^ | | | | | | | (26) ...to here | | (27) following 'false' branch... |...... | 355 | fprintf (stderr, "\nOutputFile=%s\n", outputFileName); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (28) ...to here |...... | 359 | if (outputFile == NULL) | | ~ | | | | | (29) following 'false' branch (when 'outputFile' is non-NULL)... | 'main': event 30 | |cc1: | (30): ...to here | 'main': events 31-34 | | 371 | for (k = 0; k < der_len; k++) | | ~~^~~~~~~~~ | | | | | (31) following 'true' branch... | 372 | fprintf (outputFile, "%c", der[k]); | | ~~~~~~ | | | | | (32) ...to here | | (33) 'der' is NULL | | (34) dereference of NULL 'der + (sizetype)k' | CCLD asn1Parser CCLD asn1Decoding CCLD asn1Coding make[3]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src' make[2]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src' Making all in fuzz make[2]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/fuzz' CC corpus2array.o CCLD corpus2array make[2]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/fuzz' Making all in tests make[2]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/tests' make all-am make[3]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/tests' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/tests' make[2]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/tests' Making all in doc make[2]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/doc' make[3]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/doc' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/doc' make[2]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/doc' Making all in examples make[2]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/examples' make all-am make[3]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/examples' CC CertificateExample.o CC pkix_asn1_tab.o CC CrlExample.o CCLD CrlExample CCLD CertificateExample make[3]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/examples' make[2]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/examples' make[2]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0' make[2]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0' make[1]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0' GEN public-submodule-commit make check-recursive make[1]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0' Making check in lib make[2]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib' Making check in gl make[3]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib/gl' make check-recursive make[4]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib/gl' make[5]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib/gl' make[5]: Nothing to be done for 'check-am'. make[5]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib/gl' make[4]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib/gl' make[3]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib/gl' make[3]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib' make[2]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib' Making check in src make[2]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src' Making check in gl make[3]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src/gl' make check-recursive make[4]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src/gl' make[5]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src/gl' make[5]: Nothing to be done for 'check-am'. make[5]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src/gl' make[4]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src/gl' make[3]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src/gl' make[3]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src' make[2]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src' Making check in fuzz make[2]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/fuzz' make libtasn1_array2tree_fuzzer libtasn1_parser2tree_fuzzer libtasn1_pkix_der_fuzzer libtasn1_gnutls_der_fuzzer asn1_get_length_ber_fuzzer asn1_get_length_der_fuzzer asn1_get_object_id_der_fuzzer asn1_decode_simple_ber_fuzzer asn1_decode_simple_der_fuzzer make[3]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/fuzz' CC libtasn1_array2tree_fuzzer.o CC main.o CC libtasn1_parser2tree_fuzzer.o CC libtasn1_pkix_der_fuzzer.o CC libtasn1_gnutls_der_fuzzer.o CC asn1_get_length_ber_fuzzer.o CC asn1_get_length_der_fuzzer.o CC asn1_get_object_id_der_fuzzer.o CC asn1_decode_simple_ber_fuzzer.o CC asn1_decode_simple_der_fuzzer.o CCLD libtasn1_array2tree_fuzzer CCLD libtasn1_parser2tree_fuzzer CCLD libtasn1_gnutls_der_fuzzer CCLD asn1_get_length_ber_fuzzer CCLD asn1_get_length_der_fuzzer CCLD asn1_get_object_id_der_fuzzer CCLD asn1_decode_simple_ber_fuzzer CCLD asn1_decode_simple_der_fuzzer CCLD libtasn1_pkix_der_fuzzer make[3]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/fuzz' make check-TESTS make[3]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/fuzz' make[4]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/fuzz' PASS: libtasn1_array2tree_fuzzer PASS: libtasn1_parser2tree_fuzzer PASS: libtasn1_pkix_der_fuzzer PASS: libtasn1_gnutls_der_fuzzer PASS: asn1_get_length_der_fuzzer PASS: asn1_get_length_ber_fuzzer PASS: asn1_get_object_id_der_fuzzer PASS: asn1_decode_simple_ber_fuzzer PASS: asn1_decode_simple_der_fuzzer ============================================================================ Testsuite summary for GNU Libtasn1 4.19.0 ============================================================================ # TOTAL: 9 # PASS: 9 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[4]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/fuzz' make[3]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/fuzz' make[2]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/fuzz' Making check in tests make[2]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/tests' make check-am make[3]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/tests' make Test_parser Test_tree Test_encoding Test_indefinite Test_errors Test_simple Test_overflow Test_strings Test_choice Test_encdec copynode coding-decoding2 strict-der Test_choice_ocsp ocsp-basic-response octet-string coding-long-oid object-id-decoding spc_pe_image_data setof CVE-2018-1000654 reproducers object-id-encoding version \ crlf.sh benchmark.sh threadsafety.sh decoding.sh decoding-invalid-x509.sh decoding-invalid-pkcs7.sh coding.sh parser.sh make[4]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/tests' CC Test_parser.o CC Test_tree.o CC Test_encoding.o CC Test_indefinite.o CC Test_errors.o CC Test_simple.o CC Test_overflow.o CC Test_strings.o CC Test_choice.o CC Test_encdec.o CC copynode.o CC coding-decoding2.o CC strict-der.o CC Test_choice_ocsp.o CC ocsp-basic-response.o CC octet-string.o CC coding-long-oid.o CC object-id-decoding.o CC spc_pe_image_data.o CC setof.o CC CVE-2018-1000654.o CC reproducers.o CC object-id-encoding.o make[4]: Nothing to be done for 'crlf.sh'. make[4]: Nothing to be done for 'benchmark.sh'. make[4]: Nothing to be done for 'threadsafety.sh'. make[4]: Nothing to be done for 'decoding.sh'. make[4]: Nothing to be done for 'decoding-invalid-x509.sh'. make[4]: Nothing to be done for 'decoding-invalid-pkcs7.sh'. make[4]: Nothing to be done for 'coding.sh'. make[4]: Nothing to be done for 'parser.sh'. CC version.o CCLD Test_errors CCLD Test_choice CCLD strict-der CCLD reproducers CCLD Test_strings CCLD ocsp-basic-response Test_simple.c: In function 'main': Test_simple.c:98:14: warning: 'my_str' may be used uninitialized [-Wmaybe-uninitialized] 98 | result = asn1_encode_simple_der (etype, my_str, my_str_len, tl, &tl_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Test_simple.c:27: ../lib/includes/libtasn1.h:448:5: note: by argument 2 of type 'const unsigned char *' to 'asn1_encode_simple_der' declared here 448 | asn1_encode_simple_der (unsigned int etype, const unsigned char *str, | ^~~~~~~~~~~~~~~~~~~~~~ Test_simple.c:93:19: note: 'my_str' declared here 93 | unsigned char my_str[10]; | ^~~~~~ CCLD object-id-decoding CCLD coding-long-oid CCLD Test_overflow CCLD CVE-2018-1000654 CCLD Test_choice_ocsp CCLD Test_encoding CCLD version CCLD object-id-encoding CCLD Test_indefinite CCLD spc_pe_image_data CCLD Test_encdec CCLD copynode CCLD Test_simple CCLD coding-decoding2 CCLD setof CCLD Test_parser CCLD octet-string Test_tree.c: In function 'main': Test_tree.c:551:15: warning: use of uninitialized value 'der_len' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 551 | asn1_write_value (asn1_element, test->par1, der, der_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 'main': events 1-2 | | 469 | int errorCounter = 0, testCounter = 0, der_len; | | ^~~~~~~ | | | | | (1) region created on stack here |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (2) following 'false' branch (when 'result == 0')... | 'main': events 3-4 | | 510 | out = stdout; | | ^ | | | | | (3) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (4) following 'false' branch (when 'out' is non-NULL)... | 'main': event 5 | |cc1: | (5): ...to here | 'main': events 6-12 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (6) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (7) ...to here | 531 | | 532 | switch (test->action) | | ~~~~~~ | | | | | (8) following 'case 3:' branch... |...... | 548 | case ACT_WRITE: | | ~~~~ | | | | | (9) ...to here | 549 | if ((test->par2) && (!strcmp ("DER", test->par2))) | | ~ | | | | | (10) following 'true' branch... | 550 | result = | 551 | asn1_write_value (asn1_element, test->par1, der, der_len); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (11) ...to here | | (12) use of uninitialized value 'der_len' here | Test_tree.c:587:20: warning: use of uninitialized value 'der_len' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 587 | result = asn1_der_decoding (&asn1_element, der, der_len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 588 |  errorDescription); | ~~~~~~~~~~~~~~~~~ 'main': events 1-2 | | 469 | int errorCounter = 0, testCounter = 0, der_len; | | ^~~~~~~ | | | | | (1) region created on stack here |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (2) following 'false' branch (when 'result == 0')... | 'main': events 3-4 | | 510 | out = stdout; | | ^ | | | | | (3) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (4) following 'false' branch (when 'out' is non-NULL)... | 'main': event 5 | |cc1: | (5): ...to here | 'main': events 6-10 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (6) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (7) ...to here | 531 | | 532 | switch (test->action) | | ~~~~~~ | | | | | (8) following 'case 7:' branch... |...... | 586 | case ACT_DECODING: | | ~~~~ | | | | | (9) ...to here | 587 | result = asn1_der_decoding (&asn1_element, der, der_len, | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (10) use of uninitialized value 'der_len' here | 588 |  errorDescription); | | ~~~~~~~~~~~~~~~~~ | Test_tree.c:592:13: warning: use of uninitialized value 'der_len' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 592 | asn1_der_decoding_element (&asn1_element, test->par1, der, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 593 |  der_len, errorDescription); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 'main': events 1-2 | | 469 | int errorCounter = 0, testCounter = 0, der_len; | | ^~~~~~~ | | | | | (1) region created on stack here |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (2) following 'false' branch (when 'result == 0')... | 'main': events 3-4 | | 510 | out = stdout; | | ^ | | | | | (3) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (4) following 'false' branch (when 'out' is non-NULL)... | 'main': event 5 | |cc1: | (5): ...to here | 'main': events 6-10 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (6) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (7) ...to here | 531 | | 532 | switch (test->action) | | ~~~~~~ | | | | | (8) following 'case 10:' branch... |...... | 590 | case ACT_DECODING_ELEMENT: | | ~~~~ | | | | | (9) ...to here | 591 | result = | 592 | asn1_der_decoding_element (&asn1_element, test->par1, der, | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (10) use of uninitialized value 'der_len' here | 593 |  der_len, errorDescription); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | Test_tree.c:597:13: warning: use of uninitialized value 'der_len' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 597 | asn1_der_decoding_startEnd (asn1_element, der, der_len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 598 |  test->par1, &start, &end); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 'main': events 1-2 | | 469 | int errorCounter = 0, testCounter = 0, der_len; | | ^~~~~~~ | | | | | (1) region created on stack here |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (2) following 'false' branch (when 'result == 0')... | 'main': events 3-4 | | 510 | out = stdout; | | ^ | | | | | (3) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (4) following 'false' branch (when 'out' is non-NULL)... | 'main': event 5 | |cc1: | (5): ...to here | 'main': events 6-10 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (6) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (7) ...to here | 531 | | 532 | switch (test->action) | | ~~~~~~ | | | | | (8) following 'case 13:' branch... |...... | 595 | case ACT_DECODING_START_END: | | ~~~~ | | | | | (9) ...to here | 596 | result = | 597 | asn1_der_decoding_startEnd (asn1_element, der, der_len, | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (10) use of uninitialized value 'der_len' here | 598 |  test->par1, &start, &end); | | ~~~~~~~~~~~~~~~~~~~~~~~~~ | Test_tree.c:623:15: warning: use of uninitialized value 'der_len' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 623 | printf ("DER encoding len:%i\n", der_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 'main': events 1-2 | | 469 | int errorCounter = 0, testCounter = 0, der_len; | | ^~~~~~~ | | | | | (1) region created on stack here |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (2) following 'false' branch (when 'result == 0')... | 'main': events 3-4 | | 510 | out = stdout; | | ^ | | | | | (3) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (4) following 'false' branch (when 'out' is non-NULL)... | 'main': event 5 | |cc1: | (5): ...to here | 'main': events 6-12 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (6) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (7) ...to here | 531 | | 532 | switch (test->action) | | ~~~~~~ | | | | | (8) following 'case 8:' branch... |...... | 620 | case ACT_PRINT_DER: | | ~~~~ | | | | | (9) ...to here | 621 | if (verbose) | | ~ | | | | | (10) following 'true' branch (when 'verbose != 0')... | 622 | { | 623 | printf ("DER encoding len:%i\n", der_len); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (11) ...to here | | (12) use of uninitialized value 'der_len' here | Test_tree.c:625:29: warning: use of uninitialized value 'der_len' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 625 | for (k = 0; k < der_len; k++) | ~~^~~~~~~~~ 'main': events 1-2 | | 469 | int errorCounter = 0, testCounter = 0, der_len; | | ^~~~~~~ | | | | | (1) region created on stack here |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (2) following 'false' branch (when 'result == 0')... | 'main': events 3-4 | | 510 | out = stdout; | | ^ | | | | | (3) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (4) following 'false' branch (when 'out' is non-NULL)... | 'main': event 5 | |cc1: | (5): ...to here | 'main': events 6-12 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (6) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (7) ...to here | 531 | | 532 | switch (test->action) | | ~~~~~~ | | | | | (8) following 'case 8:' branch... |...... | 620 | case ACT_PRINT_DER: | | ~~~~ | | | | | (9) ...to here | 621 | if (verbose) | | ~ | | | | | (10) following 'true' branch (when 'verbose != 0')... | 622 | { | 623 | printf ("DER encoding len:%i\n", der_len); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (11) ...to here | 624 | printf ("DER encoding: "); | 625 | for (k = 0; k < der_len; k++) | | ~~~~~~~~~~~ | | | | | (12) use of uninitialized value 'der_len' here | Test_tree.c:626:37: warning: use of uninitialized value 'der[k]' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 626 | printf ("%02x ", der[k]); | ~~~^~~ 'main': events 1-2 | | 470 | unsigned char value[1024], der[1024]; | | ^~~ | | | | | (1) region created on stack here |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (2) following 'false' branch (when 'result == 0')... | 'main': events 3-4 | | 510 | out = stdout; | | ^ | | | | | (3) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (4) following 'false' branch (when 'out' is non-NULL)... | 'main': event 5 | |cc1: | (5): ...to here | 'main': events 6-14 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (6) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (7) ...to here | 531 | | 532 | switch (test->action) | | ~~~~~~ | | | | | (8) following 'case 8:' branch... |...... | 620 | case ACT_PRINT_DER: | | ~~~~ | | | | | (9) ...to here | 621 | if (verbose) | | ~ | | | | | (10) following 'true' branch (when 'verbose != 0')... | 622 | { | 623 | printf ("DER encoding len:%i\n", der_len); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (11) ...to here | 624 | printf ("DER encoding: "); | 625 | for (k = 0; k < der_len; k++) | | ~~~~~~~~~~~ | | | | | (12) following 'true' branch... | 626 | printf ("%02x ", der[k]); | | ~~~~~~ | | | | | (13) ...to here | | (14) use of uninitialized value 'der[k]' here | Test_tree.c:626:37: warning: use of uninitialized value 'der[k]' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 626 | printf ("%02x ", der[k]); | ~~~^~~ 'main': events 1-2 | | 470 | unsigned char value[1024], der[1024]; | | ^~~ | | | | | (1) region created on stack here |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (2) following 'false' branch (when 'result == 0')... | 'main': events 3-4 | | 510 | out = stdout; | | ^ | | | | | (3) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (4) following 'false' branch (when 'out' is non-NULL)... | 'main': event 5 | |cc1: | (5): ...to here | 'main': events 6-16 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (6) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (7) ...to here | 531 | | 532 | switch (test->action) | | ~~~~~~ | | | | | (8) following 'case 8:' branch... |...... | 620 | case ACT_PRINT_DER: | | ~~~~ | | | | | (9) ...to here | 621 | if (verbose) | | ~ | | | | | (10) following 'true' branch (when 'verbose != 0')... | 622 | { | 623 | printf ("DER encoding len:%i\n", der_len); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (11) ...to here | 624 | printf ("DER encoding: "); | 625 | for (k = 0; k < der_len; k++) | | ~~~~~~~~~~~ | | | | | (12) following 'true' branch... | | (14) following 'true' branch... | 626 | printf ("%02x ", der[k]); | | ~~~~~~ | | | | | (13) ...to here | | (15) ...to here | | (16) use of uninitialized value 'der[k]' here | Test_tree.c:686:58: warning: use of uninitialized value 'valueLen' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 686 | if ((result != test->errorNumber) || (valueLen != test->par3)) | ~~~~~~~~~~^~~~~~~~~~~~~~ 'main': events 1-2 | | 471 | int valueLen, tag = 0, class = 0; | | ^~~~~~~~ | | | | | (1) region created on stack here |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (2) following 'false' branch (when 'result == 0')... | 'main': events 3-4 | | 510 | out = stdout; | | ^ | | | | | (3) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (4) following 'false' branch (when 'out' is non-NULL)... | 'main': event 5 | |cc1: | (5): ...to here | 'main': events 6-12 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (6) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (7) ...to here |...... | 645 | switch (test->action) | | ~~~~~~ | | | | | (8) following 'case 12:, case 17:' branch... |...... | 684 | case ACT_NUMBER_OF_ELEMENTS: | | ~~~~ | | | | | (9) ...to here | 685 | case ACT_READ_LENGTH: | 686 | if ((result != test->errorNumber) || (valueLen != test->par3)) | | ~ ~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | | | | (11) ...to here | | | (12) use of uninitialized value 'valueLen' here | | (10) following 'false' branch... | Test_tree.c:693:15: warning: use of uninitialized value 'valueLen' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 693 | printf (" Error detected: %s - %d\n\n", asn1_strerror (result), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 694 |  valueLen); | ~~~~~~~~~ 'main': events 1-2 | | 471 | int valueLen, tag = 0, class = 0; | | ^~~~~~~~ | | | | | (1) region created on stack here |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (2) following 'false' branch (when 'result == 0')... | 'main': events 3-4 | | 510 | out = stdout; | | ^ | | | | | (3) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (4) following 'false' branch (when 'out' is non-NULL)... | 'main': event 5 | |cc1: | (5): ...to here | 'main': events 6-10 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (6) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (7) ...to here |...... | 645 | switch (test->action) | | ~~~~~~ | | | | | (8) following 'case 12:, case 17:' branch... |...... | 684 | case ACT_NUMBER_OF_ELEMENTS: | | ~~~~ | | | | | (9) ...to here |...... | 693 | printf (" Error detected: %s - %d\n\n", asn1_strerror (result), | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (10) use of uninitialized value 'valueLen' here | 694 |  valueLen); | | ~~~~~~~~~ | Test_tree.c:699:57: warning: use of uninitialized value 'der_len' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 699 | if ((result != test->errorNumber) || (der_len != test->par3)) | ~~~~~~~~~^~~~~~~~~~~~~~ 'main': events 1-2 | | 469 | int errorCounter = 0, testCounter = 0, der_len; | | ^~~~~~~ | | | | | (1) region created on stack here |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (2) following 'false' branch (when 'result == 0')... | 'main': events 3-4 | | 510 | out = stdout; | | ^ | | | | | (3) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (4) following 'false' branch (when 'out' is non-NULL)... | 'main': event 5 | |cc1: | (5): ...to here | 'main': events 6-12 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (6) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (7) ...to here |...... | 645 | switch (test->action) | | ~~~~~~ | | | | | (8) following 'case 18:' branch... |...... | 698 | case ACT_ENCODING_LENGTH: | | ~~~~ | | | | | (9) ...to here | 699 | if ((result != test->errorNumber) || (der_len != test->par3)) | | ~ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | | | | (11) ...to here | | | (12) use of uninitialized value 'der_len' here | | (10) following 'false' branch... | Test_tree.c:706:15: warning: use of uninitialized value 'der_len' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 706 | printf (" Error detected: %s - %d\n\n", asn1_strerror (result), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 707 |  der_len); | ~~~~~~~~ 'main': events 1-2 | | 469 | int errorCounter = 0, testCounter = 0, der_len; | | ^~~~~~~ | | | | | (1) region created on stack here |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (2) following 'false' branch (when 'result == 0')... | 'main': events 3-4 | | 510 | out = stdout; | | ^ | | | | | (3) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (4) following 'false' branch (when 'out' is non-NULL)... | 'main': event 5 | |cc1: | (5): ...to here | 'main': events 6-10 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (6) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (7) ...to here |...... | 645 | switch (test->action) | | ~~~~~~ | | | | | (8) following 'case 18:' branch... |...... | 698 | case ACT_ENCODING_LENGTH: | | ~~~~ | | | | | (9) ...to here |...... | 706 | printf (" Error detected: %s - %d\n\n", asn1_strerror (result), | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (10) use of uninitialized value 'der_len' here | 707 |  der_len); | | ~~~~~~~~ | Test_tree.c:728:58: warning: use of uninitialized value 'start' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 728 | ((!strcmp (test->par2, "START")) && (start != test->par3)) || | ~~~~~~~^~~~~~~~~~~~~~ 'main': events 1-2 | | 473 | int start, end, verbose = 0; | | ^~~~~ | | | | | (1) region created on stack here |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (2) following 'false' branch (when 'result == 0')... | 'main': events 3-4 | | 510 | out = stdout; | | ^ | | | | | (3) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (4) following 'false' branch (when 'out' is non-NULL)... | 'main': event 5 | |cc1: | (5): ...to here | 'main': events 6-14 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (6) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (7) ...to here |...... | 645 | switch (test->action) | | ~~~~~~ | | | | | (8) following 'case 13:' branch... |...... | 726 | case ACT_DECODING_START_END: | | ~~~~ | | | | | (9) ...to here | 727 | if ((result != test->errorNumber) || | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | | (12) following 'true' branch (when the strings are equal)... | | (10) following 'false' branch... | 728 |  ((!strcmp (test->par2, "START")) && (start != test->par3)) || | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | | | | (13) ...to here | | (11) ...to here (14) use of uninitialized value 'start' here | Test_tree.c:729:54: warning: use of uninitialized value 'end' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 729 | ((!strcmp (test->par2, "END")) && (end != test->par3))) | ~~~~~^~~~~~~~~~~~~~ 'main': events 1-2 | | 473 | int start, end, verbose = 0; | | ^~~ | | | | | (1) region created on stack here |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (2) following 'false' branch (when 'result == 0')... | 'main': events 3-4 | | 510 | out = stdout; | | ^ | | | | | (3) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (4) following 'false' branch (when 'out' is non-NULL)... | 'main': event 5 | |cc1: | (5): ...to here | 'main': events 6-14 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (6) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (7) ...to here |...... | 645 | switch (test->action) | | ~~~~~~ | | | | | (8) following 'case 13:' branch... |...... | 726 | case ACT_DECODING_START_END: | | ~~~~ | | | | | (9) ...to here | 727 | if ((result != test->errorNumber) || | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (10) following 'false' branch... | 728 |  ((!strcmp (test->par2, "START")) && (start != test->par3)) || | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | (11) ...to here (12) following 'true' branch (when the strings are equal)... | 729 |  ((!strcmp (test->par2, "END")) && (end != test->par3))) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | | (13) ...to here | | (14) use of uninitialized value 'end' here | Test_tree.c:738:15: warning: use of uninitialized value 'end' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 738 | printf (" Error detected: %s - %d - %d\n\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 739 |  asn1_strerror (result), start, end); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 'main': events 1-2 | | 473 | int start, end, verbose = 0; | | ^~~ | | | | | (1) region created on stack here |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (2) following 'false' branch (when 'result == 0')... | 'main': events 3-4 | | 510 | out = stdout; | | ^ | | | | | (3) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (4) following 'false' branch (when 'out' is non-NULL)... | 'main': event 5 | |cc1: | (5): ...to here | 'main': events 6-10 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (6) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (7) ...to here |...... | 645 | switch (test->action) | | ~~~~~~ | | | | | (8) following 'case 13:' branch... |...... | 726 | case ACT_DECODING_START_END: | | ~~~~ | | | | | (9) ...to here |...... | 738 | printf (" Error detected: %s - %d - %d\n\n", | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (10) use of uninitialized value 'end' here | 739 |  asn1_strerror (result), start, end); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Test_tree.c:738:15: warning: use of uninitialized value 'start' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 738 | printf (" Error detected: %s - %d - %d\n\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 739 |  asn1_strerror (result), start, end); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 'main': events 1-2 | | 473 | int start, end, verbose = 0; | | ^~~~~ | | | | | (1) region created on stack here |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (2) following 'false' branch (when 'result == 0')... | 'main': events 3-4 | | 510 | out = stdout; | | ^ | | | | | (3) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (4) following 'false' branch (when 'out' is non-NULL)... | 'main': event 5 | |cc1: | (5): ...to here | 'main': events 6-10 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (6) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (7) ...to here |...... | 645 | switch (test->action) | | ~~~~~~ | | | | | (8) following 'case 13:' branch... |...... | 726 | case ACT_DECODING_START_END: | | ~~~~ | | | | | (9) ...to here |...... | 738 | printf (" Error detected: %s - %d - %d\n\n", | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (10) use of uninitialized value 'start' here | 739 |  asn1_strerror (result), start, end); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Test_tree.c:768:32: warning: use of uninitialized value 'valueLen' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 768 | if (valueLen % 8 == 0) | ~~~~~~~~~~~~~^~~~ 'main': events 1-2 | | 471 | int valueLen, tag = 0, class = 0; | | ^~~~~~~~ | | | | | (1) region created on stack here |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (2) following 'false' branch (when 'result == 0')... | 'main': events 3-4 | | 510 | out = stdout; | | ^ | | | | | (3) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (4) following 'false' branch (when 'out' is non-NULL)... | 'main': event 5 | |cc1: | (5): ...to here | 'main': events 6-12 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (6) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (7) ...to here |...... | 645 | switch (test->action) | | ~~~~~~ | | | | | (8) following 'case 4:, case 14:, case 19:' branch... |...... | 763 | case ACT_READ: | | ~~~~ | | | | | (9) ...to here |...... | 766 | if (test->action == ACT_READ_BIT) | | ~ | | | | | (10) following 'true' branch... | 767 | { | 768 | if (valueLen % 8 == 0) | | ~~~~~~~~~~~~~~~~~ | | | | | (11) ...to here | | (12) use of uninitialized value 'valueLen' here | Test_tree.c:786:25: warning: use of uninitialized value 'valueLen' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 786 | (valueLen != test->par3) || (k == -1)) | ~~~~~~~~~~^~~~~~~~~~~~~~ 'main': events 1-2 | | 471 | int valueLen, tag = 0, class = 0; | | ^~~~~~~~ | | | | | (1) region created on stack here |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (2) following 'false' branch (when 'result == 0')... | 'main': events 3-4 | | 510 | out = stdout; | | ^ | | | | | (3) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (4) following 'false' branch (when 'out' is non-NULL)... | 'main': event 5 | |cc1: | (5): ...to here | 'main': events 6-12 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (6) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (7) ...to here |...... | 645 | switch (test->action) | | ~~~~~~ | | | | | (8) following 'case 4:, case 14:, case 19:' branch... |...... | 763 | case ACT_READ: | | ~~~~ | | | | | (9) ...to here |...... | 785 | if ((result != test->errorNumber) || | | ~ | | | | | (10) following 'false' branch... | 786 | (valueLen != test->par3) || (k == -1)) | | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | | (11) ...to here | | (12) use of uninitialized value 'valueLen' here | Test_tree.c:795:15: warning: use of uninitialized value 'valueLen' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 795 | printf ("\n Error detected: %s - %d - ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 796 |  asn1_strerror (result), valueLen); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 'main': events 1-2 | | 471 | int valueLen, tag = 0, class = 0; | | ^~~~~~~~ | | | | | (1) region created on stack here |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (2) following 'false' branch (when 'result == 0')... | 'main': events 3-4 | | 510 | out = stdout; | | ^ | | | | | (3) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (4) following 'false' branch (when 'out' is non-NULL)... | 'main': event 5 | |cc1: | (5): ...to here | 'main': events 6-10 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (6) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (7) ...to here |...... | 645 | switch (test->action) | | ~~~~~~ | | | | | (8) following 'case 4:, case 14:, case 19:' branch... |...... | 763 | case ACT_READ: | | ~~~~ | | | | | (9) ...to here |...... | 795 | printf ("\n Error detected: %s - %d - ", | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (10) use of uninitialized value 'valueLen' here | 796 |  asn1_strerror (result), valueLen); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Test_tree.c:797:29: warning: use of uninitialized value 'valueLen' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 797 | for (k = 0; k < valueLen; k++) | ~~^~~~~~~~~~ 'main': events 1-2 | | 471 | int valueLen, tag = 0, class = 0; | | ^~~~~~~~ | | | | | (1) region created on stack here |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (2) following 'false' branch (when 'result == 0')... | 'main': events 3-4 | | 510 | out = stdout; | | ^ | | | | | (3) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (4) following 'false' branch (when 'out' is non-NULL)... | 'main': event 5 | |cc1: | (5): ...to here | 'main': events 6-10 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (6) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (7) ...to here |...... | 645 | switch (test->action) | | ~~~~~~ | | | | | (8) following 'case 4:, case 14:, case 19:' branch... |...... | 763 | case ACT_READ: | | ~~~~ | | | | | (9) ...to here |...... | 797 | for (k = 0; k < valueLen; k++) | | ~~~~~~~~~~~~ | | | | | (10) use of uninitialized value 'valueLen' here | Test_tree.c:798:38: warning: use of uninitialized value 'value[k]' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 798 | printf ("%02x", value[k]); | ~~~~~^~~ 'main': events 1-2 | | 470 | unsigned char value[1024], der[1024]; | | ^~~~~ | | | | | (1) region created on stack here |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (2) following 'false' branch (when 'result == 0')... | 'main': events 3-4 | | 510 | out = stdout; | | ^ | | | | | (3) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (4) following 'false' branch (when 'out' is non-NULL)... | 'main': event 5 | |cc1: | (5): ...to here | 'main': events 6-12 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (6) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (7) ...to here |...... | 645 | switch (test->action) | | ~~~~~~ | | | | | (8) following 'case 4:, case 14:, case 19:' branch... |...... | 763 | case ACT_READ: | | ~~~~ | | | | | (9) ...to here |...... | 797 | for (k = 0; k < valueLen; k++) | | ~~~~~~~~~~~~ | | | | | (10) following 'true' branch... | 798 | printf ("%02x", value[k]); | | ~~~~~~~~ | | | | | (11) ...to here | | (12) use of uninitialized value 'value[k]' here | Test_tree.c:798:38: warning: use of uninitialized value 'value[k]' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 798 | printf ("%02x", value[k]); | ~~~~~^~~ 'main': events 1-2 | | 470 | unsigned char value[1024], der[1024]; | | ^~~~~ | | | | | (1) region created on stack here |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (2) following 'false' branch (when 'result == 0')... | 'main': events 3-4 | | 510 | out = stdout; | | ^ | | | | | (3) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (4) following 'false' branch (when 'out' is non-NULL)... | 'main': event 5 | |cc1: | (5): ...to here | 'main': events 6-14 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (6) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (7) ...to here |...... | 645 | switch (test->action) | | ~~~~~~ | | | | | (8) following 'case 4:, case 14:, case 19:' branch... |...... | 763 | case ACT_READ: | | ~~~~ | | | | | (9) ...to here |...... | 797 | for (k = 0; k < valueLen; k++) | | ~~~~~~~~~~~~ | | | | | (10) following 'true' branch... | | (12) following 'true' branch... | 798 | printf ("%02x", value[k]); | | ~~~~~~~~ | | | | | (11) ...to here | | (13) ...to here | | (14) use of uninitialized value 'value[k]' here | CCLD Test_tree make[4]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/tests' make check-TESTS make[4]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/tests' make[5]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/tests' PASS: Test_encoding PASS: Test_tree PASS: Test_errors PASS: Test_simple PASS: Test_overflow PASS: Test_strings PASS: Test_choice PASS: Test_parser PASS: coding-decoding2 PASS: Test_indefinite PASS: octet-string PASS: object-id-decoding PASS: spc_pe_image_data PASS: Test_encdec PASS: setof PASS: copynode PASS: CVE-2018-1000654 PASS: Test_choice_ocsp PASS: reproducers PASS: ocsp-basic-response PASS: object-id-encoding PASS: strict-der PASS: version PASS: coding-long-oid PASS: crlf.sh PASS: coding.sh PASS: parser.sh PASS: decoding-invalid-pkcs7.sh PASS: decoding.sh PASS: decoding-invalid-x509.sh PASS: threadsafety.sh ============================================================================ Testsuite summary for GNU Libtasn1 4.19.0 ============================================================================ # TOTAL: 31 # PASS: 31 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[5]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/tests' make[4]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/tests' make[3]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/tests' make[2]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/tests' Making check in doc make[2]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/doc' make[3]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/doc' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/doc' make[2]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/doc' Making check in examples make[2]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/examples' make check-am make[3]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/examples' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/examples' make[2]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/examples' make[2]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0' make[2]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0' make[1]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0' >>> libtasn1: Entering fakeroot... make install-recursive make[1]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0' Making install in lib make[2]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib' Making install in gl make[3]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib/gl' make install-recursive make[4]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib/gl' make[5]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib/gl' make[6]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib/gl' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib/gl' make[5]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib/gl' make[4]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib/gl' make[3]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib/gl' make[3]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib' make[4]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib' .././build-aux/install-sh -c -d '/home/buildozer/aports/main/libtasn1/pkg/libtasn1/usr/lib' .././build-aux/install-sh -c -d '/home/buildozer/aports/main/libtasn1/pkg/libtasn1/usr/include' .././build-aux/install-sh -c -d '/home/buildozer/aports/main/libtasn1/pkg/libtasn1/usr/lib/pkgconfig' /bin/sh ../libtool --mode=install /usr/bin/install -c libtasn1.la '/home/buildozer/aports/main/libtasn1/pkg/libtasn1/usr/lib' /usr/bin/install -c -m 644 includes/libtasn1.h '/home/buildozer/aports/main/libtasn1/pkg/libtasn1/usr/include' /usr/bin/install -c -m 644 libtasn1.pc '/home/buildozer/aports/main/libtasn1/pkg/libtasn1/usr/lib/pkgconfig' libtool: install: /usr/bin/install -c .libs/libtasn1.so.6.6.3 /home/buildozer/aports/main/libtasn1/pkg/libtasn1/usr/lib/libtasn1.so.6.6.3 libtool: install: (cd /home/buildozer/aports/main/libtasn1/pkg/libtasn1/usr/lib && { ln -s -f libtasn1.so.6.6.3 libtasn1.so.6 || { rm -f libtasn1.so.6 && ln -s libtasn1.so.6.6.3 libtasn1.so.6; }; }) libtool: install: (cd /home/buildozer/aports/main/libtasn1/pkg/libtasn1/usr/lib && { ln -s -f libtasn1.so.6.6.3 libtasn1.so || { rm -f libtasn1.so && ln -s libtasn1.so.6.6.3 libtasn1.so; }; }) libtool: install: /usr/bin/install -c .libs/libtasn1.lai /home/buildozer/aports/main/libtasn1/pkg/libtasn1/usr/lib/libtasn1.la libtool: warning: remember to run 'libtool --finish /usr/lib' make[4]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib' make[3]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib' make[2]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/lib' Making install in src make[2]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src' Making install in gl make[3]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src/gl' make install-recursive make[4]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src/gl' make[5]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src/gl' make[6]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src/gl' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src/gl' make[5]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src/gl' make[4]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src/gl' make[3]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src/gl' make[3]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src' make[4]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src' make[4]: Nothing to be done for 'install-data-am'. .././build-aux/install-sh -c -d '/home/buildozer/aports/main/libtasn1/pkg/libtasn1/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c asn1Parser asn1Coding asn1Decoding '/home/buildozer/aports/main/libtasn1/pkg/libtasn1/usr/bin' libtool: warning: '../lib/libtasn1.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/asn1Parser /home/buildozer/aports/main/libtasn1/pkg/libtasn1/usr/bin/asn1Parser libtool: warning: '../lib/libtasn1.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/asn1Coding /home/buildozer/aports/main/libtasn1/pkg/libtasn1/usr/bin/asn1Coding libtool: warning: '../lib/libtasn1.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/asn1Decoding /home/buildozer/aports/main/libtasn1/pkg/libtasn1/usr/bin/asn1Decoding make[4]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src' make[3]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src' make[2]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/src' Making install in fuzz make[2]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/fuzz' make[3]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/fuzz' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/fuzz' make[2]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/fuzz' Making install in tests make[2]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/tests' make install-am make[3]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/tests' make[4]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/tests' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/tests' make[3]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/tests' make[2]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/tests' Making install in doc make[2]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/doc' make[3]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/doc' make[4]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/doc' make[4]: Nothing to be done for 'install-exec-am'. .././build-aux/install-sh -c -d '/home/buildozer/aports/main/libtasn1/pkg/libtasn1/usr/share/info' .././build-aux/install-sh -c -d '/home/buildozer/aports/main/libtasn1/pkg/libtasn1/usr/share/man/man1' .././build-aux/install-sh -c -d '/home/buildozer/aports/main/libtasn1/pkg/libtasn1/usr/share/man/man3' /usr/bin/install -c -m 644 ./libtasn1.info '/home/buildozer/aports/main/libtasn1/pkg/libtasn1/usr/share/info' /usr/bin/install -c -m 644 asn1Parser.1 asn1Coding.1 asn1Decoding.1 '/home/buildozer/aports/main/libtasn1/pkg/libtasn1/usr/share/man/man1' install-info --info-dir='/home/buildozer/aports/main/libtasn1/pkg/libtasn1/usr/share/info' '/home/buildozer/aports/main/libtasn1/pkg/libtasn1/usr/share/info/libtasn1.info' /usr/bin/install -c -m 644 man/asn1_get_length_der.3 man/asn1_get_tag_der.3 man/asn1_get_length_ber.3 man/asn1_get_octet_der.3 man/asn1_get_object_id_der.3 man/asn1_get_bit_der.3 man/asn1_der_decoding2.3 man/asn1_der_decoding.3 man/asn1_der_decoding_element.3 man/asn1_der_decoding_startEnd.3 man/asn1_expand_any_defined_by.3 man/asn1_expand_octet_string.3 man/asn1_decode_simple_der.3 man/asn1_decode_simple_ber.3 man/asn1_perror.3 man/asn1_strerror.3 man/asn1_find_node.3 man/asn1_length_der.3 man/asn1_octet_der.3 man/asn1_encode_simple_der.3 man/asn1_object_id_der.3 man/asn1_bit_der.3 man/asn1_der_coding.3 man/asn1_write_value.3 man/asn1_read_value.3 man/asn1_read_value_type.3 man/asn1_read_tag.3 man/asn1_read_node_value.3 man/asn1_array2tree.3 man/asn1_delete_structure.3 man/asn1_delete_structure2.3 man/asn1_delete_element.3 man/asn1_create_element.3 man/asn1_print_structure.3 man/asn1_number_of_elements.3 man/asn1_find_structure_from_oid.3 man/asn1_copy_node.3 man/asn1_dup_node.3 man/asn1_parser2tree.3 man/asn1_parser2array.3 '/home/buildozer/aports/main/libtasn1/pkg/libtasn1/usr/share/man/man3' /usr/bin/install -c -m 644 man/asn1_check_version.3 '/home/buildozer/aports/main/libtasn1/pkg/libtasn1/usr/share/man/man3' make[4]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/doc' make[3]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/doc' make[2]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/doc' Making install in examples make[2]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/examples' make install-am make[3]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/examples' make[4]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/examples' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/examples' make[3]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/examples' make[2]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0/examples' make[2]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0' make[3]: Entering directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0' make[2]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0' make[1]: Leaving directory '/home/buildozer/aports/main/libtasn1/src/libtasn1-4.19.0' >>> libtasn1-dev*: Running split function dev... >>> libtasn1-dev*: Preparing subpackage libtasn1-dev... >>> libtasn1-dev*: Stripping binaries >>> libtasn1-dev*: Running postcheck for libtasn1-dev >>> libtasn1-doc*: Running split function doc... >>> libtasn1-doc*: Preparing subpackage libtasn1-doc... >>> libtasn1-doc*: Running postcheck for libtasn1-doc >>> libtasn1-progs*: Running split function progs... '/home/buildozer/aports/main/libtasn1/pkg/libtasn1/usr/bin' -> '/home/buildozer/aports/main/libtasn1/pkg/libtasn1-progs/usr/bin' >>> libtasn1-progs*: Preparing subpackage libtasn1-progs... >>> libtasn1-progs*: Stripping binaries >>> libtasn1-progs*: Running postcheck for libtasn1-progs >>> libtasn1*: Running postcheck for libtasn1 >>> libtasn1*: Preparing package libtasn1... >>> libtasn1*: Stripping binaries >>> libtasn1-dev*: Scanning shared objects >>> libtasn1-doc*: Scanning shared objects >>> libtasn1-progs*: Scanning shared objects >>> libtasn1*: Scanning shared objects >>> libtasn1-dev*: Tracing dependencies... libtasn1-progs=4.19.0-r0 libtasn1=4.19.0-r0 pkgconfig >>> libtasn1-dev*: Package size: 44.0 KB >>> libtasn1-dev*: Compressing data... >>> libtasn1-dev*: Create checksum... >>> libtasn1-dev*: Create libtasn1-dev-4.19.0-r0.apk >>> libtasn1-doc*: Tracing dependencies... >>> libtasn1-doc*: Package size: 288.0 KB >>> libtasn1-doc*: Compressing data... >>> libtasn1-doc*: Create checksum... >>> libtasn1-doc*: Create libtasn1-doc-4.19.0-r0.apk >>> libtasn1-progs*: Tracing dependencies... so:libc.musl-x86_64.so.1 so:libtasn1.so.6 >>> libtasn1-progs*: Package size: 88.0 KB >>> libtasn1-progs*: Compressing data... >>> libtasn1-progs*: Create checksum... >>> libtasn1-progs*: Create libtasn1-progs-4.19.0-r0.apk >>> libtasn1*: Tracing dependencies... so:libc.musl-x86_64.so.1 >>> libtasn1*: Package size: 84.0 KB >>> libtasn1*: Compressing data... >>> libtasn1*: Create checksum... >>> libtasn1*: Create libtasn1-4.19.0-r0.apk >>> libtasn1: Build complete at Tue, 25 Oct 2022 11:26:12 +0000 elapsed time 0h 1m 45s >>> libtasn1: Cleaning up srcdir >>> libtasn1: Cleaning up pkgdir >>> libtasn1: Uninstalling dependencies... (1/8) Purging .makedepends-libtasn1 (20221025.112428) (2/8) Purging texinfo (6.8-r1) (3/8) Purging diffutils (3.8-r1) (4/8) Purging git-perl (2.38.1-r0) (5/8) Purging perl-git (2.38.1-r0) (6/8) Purging perl-error (0.17029-r1) (7/8) Purging perl (5.36.0-r0) (8/8) Purging libbz2 (1.0.8-r3) Executing busybox-1.35.0-r27.trigger OK: 266 MiB in 92 packages >>> libtasn1: Updating the main/x86_64 repository index... >>> libtasn1: Signing the index...