>>> libtasn1: Building main/libtasn1 4.19.0-r2 (using abuild 3.14.0-r0) started Tue, 15 Oct 2024 21:04:21 +0000 >>> libtasn1: Validating /home/buildozer/aports/main/libtasn1/APKBUILD... >>> WARNING: libtasn1: Setting the maintainer with a comment is deprecated. Use maintainer="Natanael Copa " instead >>> libtasn1: Analyzing dependencies... >>> libtasn1: Installing for build: build-base texinfo diffutils (1/8) Installing libbz2 (1.0.8-r6) (2/8) Installing perl (5.40.0-r3) (3/8) Installing texinfo (7.1.1-r0) (4/8) Installing diffutils (3.10-r0) (5/8) Installing .makedepends-libtasn1 (20241015.210422) (6/8) Installing perl-error (0.17029-r2) (7/8) Installing perl-git (2.46.2-r0) (8/8) Installing git-perl (2.46.2-r0) Executing busybox-1.36.1-r32.trigger OK: 439 MiB in 108 packages >>> libtasn1: Cleaning up srcdir >>> libtasn1: Cleaning up pkgdir >>> libtasn1: Cleaning up tmpdir >>> libtasn1: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/libtasn1-4.19.0.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> libtasn1: Fetching https://ftp.gnu.org/gnu/libtasn1/libtasn1-4.19.0.tar.gz Connecting to ftp.gnu.org (209.51.188.20:443) saving to '/var/cache/distfiles/v3.21/libtasn1-4.19.0.tar.gz.part' libtasn1-4.19.0.tar. 12% |**** | 224k 0:00:06 ETA libtasn1-4.19.0.tar. 54% |***************** | 944k 0:00:01 ETA libtasn1-4.19.0.tar. 100% |********************************| 1744k 0:00:00 ETA '/var/cache/distfiles/v3.21/libtasn1-4.19.0.tar.gz.part' saved >>> libtasn1: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/libtasn1-4.19.0.tar.gz >>> libtasn1: Checking sha512sums... libtasn1-4.19.0.tar.gz: OK >>> libtasn1: Unpacking /var/cache/distfiles/v3.21/libtasn1-4.19.0.tar.gz... 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... yes 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... no 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 -fstack-clash-protection -Wformat -Werror=format-security -fno-plt LDFlags: -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs 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 parser_aux.c: In function '_asn1_set_default_tag': parser_aux.c:1162:19: warning: infinite loop [CWE-835] [-Wanalyzer-infinite-loop] 1162 | p = _asn1_find_up (p); | ^~~~~~~~~~~~~~~~~ '_asn1_set_default_tag': event 1 | | 1133 | _asn1_set_default_tag (asn1_node node) | | ^~~~~~~~~~~~~~~~~~~~~ | | | | | (1) entry to '_asn1_set_default_tag' | +--> '_asn1_find_up': event 2 | | 522 | _asn1_find_up (asn1_node_const node) | | ^~~~~~~~~~~~~ | | | | | (2) entry to '_asn1_find_up' | +--> '_asn1_find_up.part.0': event 3 | | 522 | _asn1_find_up (asn1_node_const node) | | ^~~~~~~~~~~~~ | | | | | (3) entry to '_asn1_find_up.part.0' | <-------------+ | '_asn1_set_default_tag': event 4 | | 1162 | p = _asn1_find_up (p); | | ^~~~~~~~~~~~~~~~~ | | | | | (4) infinite loop here | +--> '_asn1_find_up': event 5 | | 526 | if (node == NULL) | | ^ | | | | | (5) when 'node' is NULL: always following 'true' branch... | '_asn1_find_up': event 6 | |cc1: | (6): ...to here | <------+ | '_asn1_set_default_tag': events 7-9 | | 1163 | if (p == node) | | ^ | | | | | (7) when 'node != p': always following 'false' branch... |...... | 1168 | if (p && p->right) | | ~ | | | | | (8) ...to here | | (9) when 'p' is NULL: always following 'false' branch... | '_asn1_set_default_tag': event 10 | |cc1: | (10): ...to here | '_asn1_set_default_tag': event 11 | |cc1: | (11): looping back... | '_asn1_set_default_tag': event 12 | | 1162 | p = _asn1_find_up (p); | | ^~~~~~~~~~~~~~~~~ | | | | | (12) ...to here | 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.c: In function '_asn1_yyparse': ASN1.c:745:7: warning: use of uninitialized value 'yyss' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 745 | __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ASN1.c:730:9: note: in expansion of macro 'YYCOPY' 730 | YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \ | ^~~~~~ ASN1.c:1725:9: note: in expansion of macro 'YYSTACK_RELOCATE' 1725 | YYSTACK_RELOCATE (yyss_alloc, yyss); | ^~~~~~~~~~~~~~~~ '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-12 | | 1628 | yy_state_t yyssa[YYINITDEPTH]; | | ^~~~~ | | | | | (6) region created on stack here | | (7) capacity: 200 bytes |...... | 1683 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (8) following 'true' branch... |...... | 1689 | YYPTRDIFF_T yysize = yyssp - yyss + 1; | | ~~~~~~~~~~~~ | | | | | (9) ...to here |...... | 1712 | if (YYMAXDEPTH <= yystacksize) | | ~ | | | | | (10) following 'false' branch (when 'yystacksize <= 9999')... | 1713 | goto yyexhaustedlab; | 1714 | yystacksize *= 2; | | ~~~~~~~~~~~~~~~~ | | | | | (11) ...to here |...... | 1723 | if (! yyptr) | | ~ | | | | | (12) following 'false' branch (when 'yyptr' is non-NULL)... | '_asn1_yyparse': event 13 | | 745 | __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src))) | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (13) ...to here ASN1.c:730:9: note: in expansion of macro 'YYCOPY' | 730 | YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \ | | ^~~~~~ ASN1.c:1725:9: note: in expansion of macro 'YYSTACK_RELOCATE' | 1725 | YYSTACK_RELOCATE (yyss_alloc, yyss); | | ^~~~~~~~~~~~~~~~ | '_asn1_yyparse': event 14 | | 745 | __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src))) | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (14) use of uninitialized value 'yyss' here ASN1.c:730:9: note: in expansion of macro 'YYCOPY' | 730 | YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \ | | ^~~~~~ ASN1.c:1725:9: note: in expansion of macro 'YYSTACK_RELOCATE' | 1725 | YYSTACK_RELOCATE (yyss_alloc, yyss); | | ^~~~~~~~~~~~~~~~ | ASN1.c:1851:9: warning: use of uninitialized value '*' [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 '*' 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-cdefs.h GEN getopt.h GEN inttypes.h GEN limits.h GEN stdbool.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 CCLD asn1Parser CCLD asn1Decoding 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 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_pkix_der_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 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_ber_fuzzer PASS: asn1_get_length_der_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 make[4]: Nothing to be done for 'crlf.sh'. make[4]: Nothing to be done for 'benchmark.sh'. CC object-id-encoding.o 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 reproducers CCLD Test_choice CCLD CVE-2018-1000654 CCLD object-id-decoding CCLD Test_overflow CCLD coding-long-oid 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 Test_choice_ocsp CCLD strict-der CCLD version CCLD object-id-encoding CCLD Test_encoding CCLD ocsp-basic-response CCLD Test_strings CCLD spc_pe_image_data CCLD Test_indefinite CCLD Test_encdec CCLD coding-decoding2 CCLD copynode CCLD Test_simple CCLD Test_parser CCLD setof 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-3 | | 469 | int errorCounter = 0, testCounter = 0, der_len; | | ^~~~~~~ | | | | | (1) region created on stack here | | (2) capacity: 4 bytes |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (3) following 'false' branch (when 'result == 0')... | 'main': events 4-5 | | 510 | out = stdout; | | ^ | | | | | (4) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (5) following 'false' branch (when 'out' is non-NULL)... | 'main': event 6 | |cc1: | (6): ...to here | 'main': events 7-13 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (7) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (8) ...to here | 531 | | 532 | switch (test->action) | | ~~~~~~ | | | | | (9) following 'case 3:' branch... |...... | 548 | case ACT_WRITE: | | ~~~~ | | | | | (10) ...to here | 549 | if ((test->par2) && (!strcmp ("DER", test->par2))) | | ~ | | | | | (11) following 'true' branch... | 550 | result = | 551 | asn1_write_value (asn1_element, test->par1, der, der_len); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (12) ...to here | | (13) 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-3 | | 469 | int errorCounter = 0, testCounter = 0, der_len; | | ^~~~~~~ | | | | | (1) region created on stack here | | (2) capacity: 4 bytes |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (3) following 'false' branch (when 'result == 0')... | 'main': events 4-5 | | 510 | out = stdout; | | ^ | | | | | (4) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (5) following 'false' branch (when 'out' is non-NULL)... | 'main': event 6 | |cc1: | (6): ...to here | 'main': events 7-11 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (7) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (8) ...to here | 531 | | 532 | switch (test->action) | | ~~~~~~ | | | | | (9) following 'case 7:' branch... |...... | 586 | case ACT_DECODING: | | ~~~~ | | | | | (10) ...to here | 587 | result = asn1_der_decoding (&asn1_element, der, der_len, | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (11) 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-3 | | 469 | int errorCounter = 0, testCounter = 0, der_len; | | ^~~~~~~ | | | | | (1) region created on stack here | | (2) capacity: 4 bytes |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (3) following 'false' branch (when 'result == 0')... | 'main': events 4-5 | | 510 | out = stdout; | | ^ | | | | | (4) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (5) following 'false' branch (when 'out' is non-NULL)... | 'main': event 6 | |cc1: | (6): ...to here | 'main': events 7-11 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (7) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (8) ...to here | 531 | | 532 | switch (test->action) | | ~~~~~~ | | | | | (9) following 'case 10:' branch... |...... | 590 | case ACT_DECODING_ELEMENT: | | ~~~~ | | | | | (10) ...to here | 591 | result = | 592 | asn1_der_decoding_element (&asn1_element, test->par1, der, | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (11) 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-3 | | 469 | int errorCounter = 0, testCounter = 0, der_len; | | ^~~~~~~ | | | | | (1) region created on stack here | | (2) capacity: 4 bytes |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (3) following 'false' branch (when 'result == 0')... | 'main': events 4-5 | | 510 | out = stdout; | | ^ | | | | | (4) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (5) following 'false' branch (when 'out' is non-NULL)... | 'main': event 6 | |cc1: | (6): ...to here | 'main': events 7-11 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (7) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (8) ...to here | 531 | | 532 | switch (test->action) | | ~~~~~~ | | | | | (9) following 'case 13:' branch... |...... | 595 | case ACT_DECODING_START_END: | | ~~~~ | | | | | (10) ...to here | 596 | result = | 597 | asn1_der_decoding_startEnd (asn1_element, der, der_len, | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (11) 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-3 | | 469 | int errorCounter = 0, testCounter = 0, der_len; | | ^~~~~~~ | | | | | (1) region created on stack here | | (2) capacity: 4 bytes |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (3) following 'false' branch (when 'result == 0')... | 'main': events 4-5 | | 510 | out = stdout; | | ^ | | | | | (4) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (5) following 'false' branch (when 'out' is non-NULL)... | 'main': event 6 | |cc1: | (6): ...to here | 'main': events 7-13 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (7) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (8) ...to here | 531 | | 532 | switch (test->action) | | ~~~~~~ | | | | | (9) following 'case 8:' branch... |...... | 620 | case ACT_PRINT_DER: | | ~~~~ | | | | | (10) ...to here | 621 | if (verbose) | | ~ | | | | | (11) following 'true' branch (when 'verbose != 0')... | 622 | { | 623 | printf ("DER encoding len:%i\n", der_len); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (12) ...to here | | (13) use of uninitialized value 'der_len' 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-3 | | 471 | int valueLen, tag = 0, class = 0; | | ^~~~~~~~ | | | | | (1) region created on stack here | | (2) capacity: 4 bytes |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (3) following 'false' branch (when 'result == 0')... | 'main': events 4-5 | | 510 | out = stdout; | | ^ | | | | | (4) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (5) following 'false' branch (when 'out' is non-NULL)... | 'main': event 6 | |cc1: | (6): ...to here | 'main': events 7-13 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (7) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (8) ...to here |...... | 645 | switch (test->action) | | ~~~~~~ | | | | | (9) following 'case 12:, case 17:' branch... |...... | 684 | case ACT_NUMBER_OF_ELEMENTS: | | ~~~~ | | | | | (10) ...to here | 685 | case ACT_READ_LENGTH: | 686 | if ((result != test->errorNumber) || (valueLen != test->par3)) | | ~ ~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | | | | (12) ...to here | | | (13) use of uninitialized value 'valueLen' here | | (11) 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-3 | | 471 | int valueLen, tag = 0, class = 0; | | ^~~~~~~~ | | | | | (1) region created on stack here | | (2) capacity: 4 bytes |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (3) following 'false' branch (when 'result == 0')... | 'main': events 4-5 | | 510 | out = stdout; | | ^ | | | | | (4) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (5) following 'false' branch (when 'out' is non-NULL)... | 'main': event 6 | |cc1: | (6): ...to here | 'main': events 7-13 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (7) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (8) ...to here |...... | 645 | switch (test->action) | | ~~~~~~ | | | | | (9) following 'case 12:, case 17:' branch... |...... | 684 | case ACT_NUMBER_OF_ELEMENTS: | | ~~~~ | | | | | (10) ...to here | 685 | case ACT_READ_LENGTH: | 686 | if ((result != test->errorNumber) || (valueLen != test->par3)) | | ~ | | | | | (11) following 'true' branch... |...... | 689 | printf ("ERROR in %d:\n", test->line); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (12) ...to here |...... | 693 | printf (" Error detected: %s - %d\n\n", asn1_strerror (result), | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (13) 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-3 | | 469 | int errorCounter = 0, testCounter = 0, der_len; | | ^~~~~~~ | | | | | (1) region created on stack here | | (2) capacity: 4 bytes |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (3) following 'false' branch (when 'result == 0')... | 'main': events 4-5 | | 510 | out = stdout; | | ^ | | | | | (4) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (5) following 'false' branch (when 'out' is non-NULL)... | 'main': event 6 | |cc1: | (6): ...to here | 'main': events 7-13 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (7) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (8) ...to here |...... | 645 | switch (test->action) | | ~~~~~~ | | | | | (9) following 'case 18:' branch... |...... | 698 | case ACT_ENCODING_LENGTH: | | ~~~~ | | | | | (10) ...to here | 699 | if ((result != test->errorNumber) || (der_len != test->par3)) | | ~ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | | | | (12) ...to here | | | (13) use of uninitialized value 'der_len' here | | (11) 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-3 | | 469 | int errorCounter = 0, testCounter = 0, der_len; | | ^~~~~~~ | | | | | (1) region created on stack here | | (2) capacity: 4 bytes |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (3) following 'false' branch (when 'result == 0')... | 'main': events 4-5 | | 510 | out = stdout; | | ^ | | | | | (4) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (5) following 'false' branch (when 'out' is non-NULL)... | 'main': event 6 | |cc1: | (6): ...to here | 'main': events 7-13 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (7) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (8) ...to here |...... | 645 | switch (test->action) | | ~~~~~~ | | | | | (9) following 'case 18:' branch... |...... | 698 | case ACT_ENCODING_LENGTH: | | ~~~~ | | | | | (10) ...to here | 699 | if ((result != test->errorNumber) || (der_len != test->par3)) | | ~ | | | | | (11) following 'true' branch... |...... | 702 | printf ("ERROR in %d:\n", test->line); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (12) ...to here |...... | 706 | printf (" Error detected: %s - %d\n\n", asn1_strerror (result), | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (13) 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-3 | | 473 | int start, end, verbose = 0; | | ^~~~~ | | | | | (1) region created on stack here | | (2) capacity: 4 bytes |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (3) following 'false' branch (when 'result == 0')... | 'main': events 4-5 | | 510 | out = stdout; | | ^ | | | | | (4) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (5) following 'false' branch (when 'out' is non-NULL)... | 'main': event 6 | |cc1: | (6): ...to here | 'main': events 7-15 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (7) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (8) ...to here |...... | 645 | switch (test->action) | | ~~~~~~ | | | | | (9) following 'case 13:' branch... |...... | 726 | case ACT_DECODING_START_END: | | ~~~~ | | | | | (10) ...to here | 727 | if ((result != test->errorNumber) || | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | | (13) following 'true' branch (when the strings are equal)... | | (11) following 'false' branch... | 728 |  ((!strcmp (test->par2, "START")) && (start != test->par3)) || | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | | | | (14) ...to here | | (12) ...to here (15) 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-3 | | 473 | int start, end, verbose = 0; | | ^~~ | | | | | (1) region created on stack here | | (2) capacity: 4 bytes |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (3) following 'false' branch (when 'result == 0')... | 'main': events 4-5 | | 510 | out = stdout; | | ^ | | | | | (4) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (5) following 'false' branch (when 'out' is non-NULL)... | 'main': event 6 | |cc1: | (6): ...to here | 'main': events 7-17 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (7) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (8) ...to here |...... | 645 | switch (test->action) | | ~~~~~~ | | | | | (9) following 'case 13:' branch... |...... | 726 | case ACT_DECODING_START_END: | | ~~~~ | | | | | (10) ...to here | 727 | if ((result != test->errorNumber) || | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | | (13) following 'false' branch (when the strings are non-equal)... | | (11) following 'false' branch... | 728 |  ((!strcmp (test->par2, "START")) && (start != test->par3)) || | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | (12) ...to here (15) following 'true' branch (when the strings are equal)... | 729 |  ((!strcmp (test->par2, "END")) && (end != test->par3))) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | | | | (16) ...to here | | (14) ...to here (17) 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-3 | | 473 | int start, end, verbose = 0; | | ^~~ | | | | | (1) region created on stack here | | (2) capacity: 4 bytes |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (3) following 'false' branch (when 'result == 0')... | 'main': events 4-5 | | 510 | out = stdout; | | ^ | | | | | (4) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (5) following 'false' branch (when 'out' is non-NULL)... | 'main': event 6 | |cc1: | (6): ...to here | 'main': events 7-13 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (7) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (8) ...to here |...... | 645 | switch (test->action) | | ~~~~~~ | | | | | (9) following 'case 13:' branch... |...... | 726 | case ACT_DECODING_START_END: | | ~~~~ | | | | | (10) ...to here | 727 | if ((result != test->errorNumber) || | | ~ | | | | | (11) following 'true' branch... |...... | 732 | printf ("ERROR in %d:\n", test->line); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (12) ...to here |...... | 738 | printf (" Error detected: %s - %d - %d\n\n", | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (13) use of uninitialized value 'end' 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-3 | | 471 | int valueLen, tag = 0, class = 0; | | ^~~~~~~~ | | | | | (1) region created on stack here | | (2) capacity: 4 bytes |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (3) following 'false' branch (when 'result == 0')... | 'main': events 4-5 | | 510 | out = stdout; | | ^ | | | | | (4) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (5) following 'false' branch (when 'out' is non-NULL)... | 'main': event 6 | |cc1: | (6): ...to here | 'main': events 7-13 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (7) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (8) ...to here |...... | 645 | switch (test->action) | | ~~~~~~ | | | | | (9) following 'case 4:, case 14:, case 19:' branch... |...... | 763 | case ACT_READ: | | ~~~~ | | | | | (10) ...to here |...... | 766 | if (test->action == ACT_READ_BIT) | | ~ | | | | | (11) following 'true' branch... | 767 | { | 768 | if (valueLen % 8 == 0) | | ~~~~~~~~~~~~~~~~~ | | | | | (12) ...to here | | (13) 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-3 | | 471 | int valueLen, tag = 0, class = 0; | | ^~~~~~~~ | | | | | (1) region created on stack here | | (2) capacity: 4 bytes |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (3) following 'false' branch (when 'result == 0')... | 'main': events 4-5 | | 510 | out = stdout; | | ^ | | | | | (4) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (5) following 'false' branch (when 'out' is non-NULL)... | 'main': event 6 | |cc1: | (6): ...to here | 'main': events 7-17 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (7) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (8) ...to here |...... | 645 | switch (test->action) | | ~~~~~~ | | | | | (9) following 'case 4:, case 14:, case 19:' branch... |...... | 763 | case ACT_READ: | | ~~~~ | | | | | (10) ...to here |...... | 766 | if (test->action == ACT_READ_BIT) | | ~ | | | | | (11) following 'false' branch... |...... | 778 | for (k = 0; k < class; k++) | | ~~~ ~~~~~~~~~ | | | | | | | (13) following 'false' branch... | | (12) ...to here |...... | 785 | if ((result != test->errorNumber) || | | ~ ~~~~~~~~~~~~~~~~~ | | | | | | | (14) ...to here | | (15) following 'false' branch... | 786 | (valueLen != test->par3) || (k == -1)) | | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | | | (16) ...to here | | (17) 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-3 | | 471 | int valueLen, tag = 0, class = 0; | | ^~~~~~~~ | | | | | (1) region created on stack here | | (2) capacity: 4 bytes |...... | 502 | if (result != ASN1_SUCCESS) | | ~ | | | | | (3) following 'false' branch (when 'result == 0')... | 'main': events 4-5 | | 510 | out = stdout; | | ^ | | | | | (4) ...to here |...... | 514 | if (out == NULL) | | ~ | | | | | (5) following 'false' branch (when 'out' is non-NULL)... | 'main': event 6 | |cc1: | (6): ...to here | 'main': events 7-17 | | 528 | while (test->action != ACT_NULL) | | ^ | | | | | (7) following 'true' branch... | 529 | { | 530 | testCounter++; | | ~~~~~~~~~~~~~ | | | | | (8) ...to here |...... | 645 | switch (test->action) | | ~~~~~~ | | | | | (9) following 'case 4:, case 14:, case 19:' branch... |...... | 763 | case ACT_READ: | | ~~~~ | | | | | (10) ...to here |...... | 766 | if (test->action == ACT_READ_BIT) | | ~ | | | | | (11) following 'false' branch... |...... | 778 | for (k = 0; k < class; k++) | | ~~~ ~~~~~~~~~ | | | | | | | (13) following 'false' branch... | | (12) ...to here |...... | 785 | if ((result != test->errorNumber) || | | ~ ~~~~~~~~~~~~~~~~~ | | | | | | | (14) ...to here | | (15) following 'true' branch... |...... | 789 | printf ("ERROR in %d:\n", test->line); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (16) ...to here |...... | 795 | printf ("\n Error detected: %s - %d - ", | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (17) use of uninitialized value 'valueLen' here | 796 |  asn1_strerror (result), valueLen); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 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_errors PASS: Test_tree PASS: Test_encoding PASS: Test_simple PASS: Test_strings PASS: Test_choice PASS: Test_parser PASS: Test_overflow PASS: Test_indefinite PASS: coding-decoding2 PASS: copynode PASS: octet-string PASS: object-id-decoding PASS: strict-der PASS: Test_encdec PASS: ocsp-basic-response PASS: setof PASS: spc_pe_image_data PASS: Test_choice_ocsp PASS: coding-long-oid PASS: CVE-2018-1000654 PASS: object-id-encoding PASS: version PASS: reproducers PASS: crlf.sh PASS: coding.sh PASS: parser.sh PASS: decoding.sh PASS: decoding-invalid-pkcs7.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' /usr/bin/install -c -m 644 includes/libtasn1.h '/home/buildozer/aports/main/libtasn1/pkg/libtasn1/usr/include' /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 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 asn1Parser.1 asn1Coding.1 asn1Decoding.1 '/home/buildozer/aports/main/libtasn1/pkg/libtasn1/usr/share/man/man1' /usr/bin/install -c -m 644 ./libtasn1.info '/home/buildozer/aports/main/libtasn1/pkg/libtasn1/usr/share/info' 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... 'usr/include' -> '/home/buildozer/aports/main/libtasn1/pkg/libtasn1-dev/usr/include' 'usr/lib/pkgconfig' -> '/home/buildozer/aports/main/libtasn1/pkg/libtasn1-dev/usr/lib/pkgconfig' 'usr/lib/libtasn1.so' -> '/home/buildozer/aports/main/libtasn1/pkg/libtasn1-dev/usr/lib/libtasn1.so' >>> libtasn1-dev*: Preparing subpackage libtasn1-dev... >>> libtasn1-dev*: Stripping binaries >>> libtasn1-dev*: Running postcheck for libtasn1-dev >>> libtasn1-doc*: Running split function doc... 'usr/share/man' -> '/home/buildozer/aports/main/libtasn1/pkg/libtasn1-doc/usr/share/man' 'usr/share/info' -> '/home/buildozer/aports/main/libtasn1/pkg/libtasn1-doc/usr/share/info' >>> libtasn1-doc*: Preparing subpackage libtasn1-doc... >>> libtasn1-doc*: Running postcheck for libtasn1-doc >>> libtasn1-progs*: Running split function progs... '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-r2 libtasn1=4.19.0-r2 pkgconfig >>> libtasn1-dev*: Package size: 18.8 KB >>> libtasn1-dev*: Compressing data... >>> libtasn1-dev*: Create checksum... >>> libtasn1-dev*: Create libtasn1-dev-4.19.0-r2.apk >>> libtasn1-doc*: Tracing dependencies... >>> libtasn1-doc*: Package size: 120.6 KB >>> libtasn1-doc*: Compressing data... >>> libtasn1-doc*: Create checksum... >>> libtasn1-doc*: Create libtasn1-doc-4.19.0-r2.apk >>> libtasn1-progs*: Tracing dependencies... so:libc.musl-x86_64.so.1 so:libtasn1.so.6 >>> libtasn1-progs*: Package size: 70.2 KB >>> libtasn1-progs*: Compressing data... >>> libtasn1-progs*: Create checksum... >>> libtasn1-progs*: Create libtasn1-progs-4.19.0-r2.apk >>> libtasn1*: Tracing dependencies... so:libc.musl-x86_64.so.1 >>> libtasn1*: Package size: 65.8 KB >>> libtasn1*: Compressing data... >>> libtasn1*: Create checksum... >>> libtasn1*: Create libtasn1-4.19.0-r2.apk >>> libtasn1: Build complete at Tue, 15 Oct 2024 21:04:50 +0000 elapsed time 0h 0m 29s >>> libtasn1: Cleaning up srcdir >>> libtasn1: Cleaning up pkgdir >>> libtasn1: Uninstalling dependencies... (1/8) Purging .makedepends-libtasn1 (20241015.210422) (2/8) Purging texinfo (7.1.1-r0) Executing texinfo-7.1.1-r0.pre-deinstall (3/8) Purging diffutils (3.10-r0) (4/8) Purging git-perl (2.46.2-r0) (5/8) Purging perl-git (2.46.2-r0) (6/8) Purging perl-error (0.17029-r2) (7/8) Purging perl (5.40.0-r3) (8/8) Purging libbz2 (1.0.8-r6) Executing busybox-1.36.1-r32.trigger OK: 395 MiB in 100 packages >>> libtasn1: Updating the main/x86_64 repository index... >>> libtasn1: Signing the index...