tribuchet: building on jamie structuredAttrs is enabled Running phase: unpackPhase unpacking source archive /nix/store/rk09qhlp69my6j46rbmly4kmvh1a9sa1-libtasn1-4.21.0.tar.gz source root is libtasn1-4.21.0 setting SOURCE_DATE_EPOCH to timestamp 1767874762 of file "libtasn1-4.21.0/windows/test-tree/test-tree.vcproj" Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Updating Autotools / GNU config script to a newer upstream version: ./build-aux/config.sub Updating Autotools / GNU config script to a newer upstream version: ./build-aux/config.guess Updating Autotools / GNU config script to a newer upstream version: ./build-aux/config.sub Updating Autotools / GNU config script to a newer upstream version: ./build-aux/config.guess Running phase: configurePhase fixing libtool script ./build-aux/ltmain.sh ./configure patching script interpreter paths in ./configure ./configure: interpreter directive changed from "#! /bin/sh" to "/nix/store/svx59425zxp552p2b8gm11qj5r09b56i-bash-5.3p15/bin/sh" configure flags: --disable-dependency-tracking --prefix=/nix/store/8wq7bqr2ab5iq5kz6j7g9m2x2xgqm8b1-libtasn1-static-x86_64-unknown-linux-musl-4.21.0 --bindir=/nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/bin --sbindir=/nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/sbin --includedir=/nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/include --mandir=/nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/share/man --infodir=/nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/share/info --docdir=/nix/store/8wq7bqr2ab5iq5kz6j7g9m2x2xgqm8b1-libtasn1-static-x86_64-unknown-linux-musl-4.21.0/share/doc/libtasn1 --libdir=/nix/store/8wq7bqr2ab5iq5kz6j7g9m2x2xgqm8b1-libtasn1-static-x86_64-unknown-linux-musl-4.21.0/lib --libexecdir=/nix/store/8wq7bqr2ab5iq5kz6j7g9m2x2xgqm8b1-libtasn1-static-x86_64-unknown-linux-musl-4.21.0/libexec --localedir=/nix/store/8wq7bqr2ab5iq5kz6j7g9m2x2xgqm8b1-libtasn1-static-x86_64-unknown-linux-musl-4.21.0/share/locale --enable-static --disable-shared --disable-shared --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-musl configure: GNU Libtasn1 4.21.0 libtasn1 4.21.0 0x041500 12:5:6 checking for a BSD-compatible install... /nix/store/xjl7p8dvyk2j53kqf7f43kdj4ypbxz7g-coreutils-9.11/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for x86_64-unknown-linux-musl-strip... x86_64-unknown-linux-musl-strip checking for a race-free mkdir -p... /nix/store/xjl7p8dvyk2j53kqf7f43kdj4ypbxz7g-coreutils-9.11/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking whether UID '1000' is supported by ustar format... yes checking whether GID '100' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking for x86_64-unknown-linux-musl-gcc... x86_64-unknown-linux-musl-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... yes checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether x86_64-unknown-linux-musl-gcc accepts -g... yes checking for x86_64-unknown-linux-musl-gcc option to enable C11 features... none needed checking whether x86_64-unknown-linux-musl-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 x86_64-unknown-linux-musl-gcc... none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking for stdbool.h... yes checking for limits.h... yes checking for stdckdint.h... yes checking for sys/socket.h... yes checking for getopt.h... yes checking for sys/time.h... yes checking for xlocale.h... no checking for sys/param.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-unknown-linux-gnu checking host system type... x86_64-unknown-linux-musl checking how to run the C preprocessor... x86_64-unknown-linux-musl-gcc -E checking for egrep -e... /nix/store/xmvbzzxm5snla5a2cyfhm7hjy9bifx7n-gnugrep-3.12/bin/grep -E checking for Minix Amsterdam compiler... no checking for x86_64-unknown-linux-musl-ar... x86_64-unknown-linux-musl-ar checking for x86_64-unknown-linux-musl-gcc option to support large files... none needed 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... /nix/store/qf2wzyq4irhgyhnq3s2hz0ldjq3w8a3x-gnused-4.10/bin/sed checking for grep that handles long lines and -e... /nix/store/xmvbzzxm5snla5a2cyfhm7hjy9bifx7n-gnugrep-3.12/bin/grep checking for egrep... /nix/store/xmvbzzxm5snla5a2cyfhm7hjy9bifx7n-gnugrep-3.12/bin/grep -E checking for fgrep... /nix/store/xmvbzzxm5snla5a2cyfhm7hjy9bifx7n-gnugrep-3.12/bin/grep -F checking for ld used by x86_64-unknown-linux-musl-gcc... x86_64-unknown-linux-musl-ld checking if the linker (x86_64-unknown-linux-musl-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... x86_64-unknown-linux-musl-nm checking the name lister (x86_64-unknown-linux-musl-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 32768 checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-musl format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for x86_64-unknown-linux-musl-ld option to reload object files... -r checking for x86_64-unknown-linux-musl-file... no checking for file... file configure: WARNING: using cross tools not prefixed with host triplet checking for x86_64-unknown-linux-musl-objdump... x86_64-unknown-linux-musl-objdump checking how to recognize dependent libraries... (cached) pass_all checking for x86_64-unknown-linux-musl-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-unknown-linux-musl-ar... (cached) x86_64-unknown-linux-musl-ar checking for archiver @FILE support... @ checking for x86_64-unknown-linux-musl-strip... (cached) x86_64-unknown-linux-musl-strip checking for x86_64-unknown-linux-musl-ranlib... x86_64-unknown-linux-musl-ranlib checking command to parse x86_64-unknown-linux-musl-nm output from x86_64-unknown-linux-musl-gcc object... ok checking for sysroot... no checking for a working dd... /nix/store/xjl7p8dvyk2j53kqf7f43kdj4ypbxz7g-coreutils-9.11/bin/dd checking how to truncate binary pipes... /nix/store/xjl7p8dvyk2j53kqf7f43kdj4ypbxz7g-coreutils-9.11/bin/dd bs=4096 count=1 checking for x86_64-unknown-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 x86_64-unknown-linux-musl-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-unknown-linux-musl-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-unknown-linux-musl-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-unknown-linux-musl-gcc static flag -static works... yes checking if x86_64-unknown-linux-musl-gcc supports -c -o file.o... yes checking if x86_64-unknown-linux-musl-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-unknown-linux-musl-gcc linker (x86_64-unknown-linux-musl-ld -m elf_x86_64) supports shared libraries... yes 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... no checking whether to build static libraries... yes checking for x86_64-unknown-linux-musl-pkg-config... no checking for pkg-config... no 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... checking size of unsigned long int... 8 checking size of unsigned int... 4 checking whether ctype.h defines __header_inline... no checking for symlink... yes checking for _set_invalid_parameter_handler... no checking for fcntl... yes checking for getdtablesize... yes checking for gettimeofday... yes checking for lstat... yes checking for memset_s... no checking for working fcntl.h... guessing no checking whether the preprocessor supports include_next... yes checking whether source code line length is unlimited... yes checking for pid_t... yes checking for mode_t... 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 whether malloc is ptrdiff_t safe... yes checking whether malloc, calloc set errno on failure... yes checking whether realloc should abort upon undefined behaviour... no checking whether stdckdint.h can be included in C... yes checking checking for an ISO C23 compliant stdckdint.h in C... yes checking whether stdckdint.h can be included in C++... yes checking checking for an ISO C++26 compliant stdckdint.h in C++... no checking for good max_align_t... yes checking whether NULL can be used in arbitrary expressions... yes checking for unreachable in C... no checking whether nullptr_t needs ... yes checking whether is idempotent... guessing yes checking for wint_t... yes checking whether wint_t is large enough... yes checking whether stdint.h conforms to C99... guessing 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 nl_langinfo and CODESET... yes checking for an english Unicode locale... en_US.UTF-8 checking for x86_64-unknown-linux-musl-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 whether MB_CUR_MAX is correct... guessing yes checking for off64_t... no checking for blksize_t... yes checking for blkcnt_t... yes checking whether execvpe is declared... yes checking for C compiler option to allow warnings... -Wno-error checking for bool, true, false... yes checking if gcc/ld supports -Wl,--output-def... not needed, shared libraries are disabled 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 whether realloc sets errno on failure... yes checking whether realloc (..., 0) returns nonnull... guessing yes checking for ssize_t... yes checking for va_copy... yes checking for strverscmp... yes checking whether strverscmp works... guessing no checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for complete errno.h... yes checking whether fopen recognizes a trailing slash... guessing yes checking whether fflush works on input streams... cross 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... guessing yes checking for ftello... yes checking whether ftello works... guessing 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... guessing yes checking for working GNU getopt function... guessing no checking for glibc-compatible sys/cdefs.h... no checking whether timespec_get is declared... yes checking for timespec_get... yes checking for struct timeval... yes checking for wide-enough struct timeval.tv_sec member... yes checking whether locale.h defines locale_t... yes checking whether locale.h defines _locale_t... no checking whether locale.h conforms to POSIX:2001... yes checking whether struct lconv is properly defined... yes checking whether lstat correctly handles trailing slash... guessing yes checking whether malloc (0) returns nonnull... guessing yes checking for O_CLOEXEC... yes checking for promoted mode_t type... mode_t checking whether fcloseall is declared... no checking whether getw is declared... yes checking whether putw is declared... yes checking which flavor of printf attribute matches inttypes macros... system checking whether streq is declared... no checking whether memeq is declared... no 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 static_assert... yes, a keyword checking for bool, true, false... (cached) 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... guessing yes checking whether fcntl handles F_DUPFD correctly... guessing yes checking whether fcntl understands F_DUPFD_CLOEXEC... guessing no checking whether fopen supports the mode character 'x'... guessing yes checking whether fopen supports the mode character 'e'... guessing yes checking whether free is known to preserve errno... no checking for __fseterr... yes checking for ftello... (cached) yes checking whether ftello works... (cached) guessing yes checking whether getdtablesize works... guessing yes checking for gettimeofday with POSIX signature... yes checking whether lseek detects pipes... yes checking whether SEEK_DATA works but is incompatible with GNU... no checking for memset_explicit... no checking for explicit_memset... no checking whether open recognizes a trailing slash... guessing yes checking whether program_invocation_name is declared... yes checking whether program_invocation_short_name is declared... yes checking whether realloc sets errno on failure... (cached) yes checking whether realloc (..., 0) returns nonnull... (cached) guessing yes checking for ssize_t... (cached) yes checking whether stat handles trailing slashes on files... guessing 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... (cached) yes checking for vasprintf... yes checking for variable-length arrays... 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 -fstrict-flex-arrays... 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 -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 -Wflex-array-member-not-at-end... 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 -Wmissing-variable-declarations... 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-flex-arrays... 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 -Wthread-safety... no 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 for timestamps of last git commit... help2man 0 touch 197001010000.00 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.21.0 Libtool version 12:5:6 DLL version: Header version: major 4 minor 21 patch 0 number 0x041500 Build/host system: x86_64-unknown-linux-gnu / x86_64-unknown-linux-musl Install prefix: /nix/store/8wq7bqr2ab5iq5kz6j7g9m2x2xgqm8b1-libtasn1-static-x86_64-unknown-linux-musl-4.21.0 Compiler: x86_64-unknown-linux-musl-gcc Warning flags: -fanalyzer -fstrict-flex-arrays -Wall -Warith-conversion -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Wformat-signedness -Wflex-array-member-not-at-end -Winit-self -Winline -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wmissing-variable-declarations -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstack-protector -Wstrict-flex-arrays -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: -g -O2 LDFlags: Documentation: yes Library types: Shared=no, Static=yes Valgrind: Version script: yes Fuzzing build: no Running phase: buildPhase build flags: SHELL=/nix/store/svx59425zxp552p2b8gm11qj5r09b56i-bash-5.3p15/bin/bash make all-recursive make[1]: Entering directory '/build/libtasn1-4.21.0' Making all in lib make[2]: Entering directory '/build/libtasn1-4.21.0/lib' Making all in gl make[3]: Entering directory '/build/libtasn1-4.21.0/lib/gl' GEN fcntl.h GEN limits.h GEN stdckdint.h GEN stddef.h GEN stdint.h GEN stdlib.h GEN string.h GEN sys/types.h GEN unistd.h make all-recursive make[4]: Entering directory '/build/libtasn1-4.21.0/lib/gl' make[5]: Entering directory '/build/libtasn1-4.21.0/lib/gl' CC libgnu_la-c-ctype.lo CC libgnu_la-stdlib.lo CC libgnu_la-strverscmp.lo CC libgnu_la-unistd.lo CCLD libgnu.la make[5]: Leaving directory '/build/libtasn1-4.21.0/lib/gl' make[4]: Leaving directory '/build/libtasn1-4.21.0/lib/gl' make[3]: Leaving directory '/build/libtasn1-4.21.0/lib/gl' make[3]: Entering directory '/build/libtasn1-4.21.0/lib' CC ASN1.lo ASN1.c:75:25: warning: no previous declaration for '_asn1_yychar' [-Wmissing-variable-declarations] 75 | #define yychar _asn1_yychar | ^~~~~~~~~~~~ ASN1.c:1589:5: note: in expansion of macro 'yychar' 1589 | int yychar; | ^~~~~~ ASN1.c:73:25: warning: no previous declaration for '_asn1_yynerrs' [-Wmissing-variable-declarations] 73 | #define yynerrs _asn1_yynerrs | ^~~~~~~~~~~~~ ASN1.c:1594:5: note: in expansion of macro 'yynerrs' 1594 | int yynerrs; | ^~~~~~~ ASN1.c: In function '_asn1_yyparse': ASN1.c:754:7: warning: use of uninitialized value 'yyss' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 754 | __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ASN1.c:739:9: note: in expansion of macro 'YYCOPY' 739 | YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \ | ^~~~~~ ASN1.c:1715:9: note: in expansion of macro 'YYSTACK_RELOCATE' 1715 | YYSTACK_RELOCATE (yyss_alloc, yyss); | ^~~~~~~~~~~~~~~~ 'asn1_parser2array': events 1-2 │ │ASN1.y:788:1: │ 788 | asn1_parser2array (const char *inputFileName, const char *outputFileName, │ | ^~~~~~~~~~~~~~~~~ │ | | │ | (1) entry to 'asn1_parser2array' │...... │ 802 | if (file_asn1 == NULL) │ | ~ │ | | │ | (2) following 'false' branch... ─>─┐ │ | │ │ 'asn1_parser2array': event 3 │ │ | │ │ |┌────────────────────────────────────────┘ │ 808 |│ result_parse = ASN1_SUCCESS; │ 'asn1_parser2array': event 4 │ │ASN1.c:69:25: │ 69 | #define yyparse _asn1_yyparse ASN1.y:811:3: note: in expansion of macro 'yyparse' │ 811 | yyparse (); │ | ^~~~~~~ │ └──> '_asn1_yyparse': event 5 │ │ASN1.c:69:25: │ 69 | #define yyparse _asn1_yyparse │ | ^~~~~~~~~~~~~ │ | | │ | (5) entry to '_asn1_yyparse' ASN1.c:1604:1: note: in expansion of macro 'yyparse' │ 1604 | yyparse (void) │ | ^~~~~~~ │ '_asn1_yyparse': events 6-12 │ │ 1617 | yy_state_t yyssa[YYINITDEPTH]; │ | ^~~~~ │ | | │ | (6) region created on stack here │ | (7) capacity: 200 bytes │...... │ 1673 | if (yyss + yystacksize - 1 <= yyssp) │ | ~ │ | | │ | (8) following 'true' branch... ─>─┐ │ | │ │...... │ | │ │ |┌───────────────────────────────────────┘ │ 1679 |│ YYPTRDIFF_T yysize = yyssp - yyss + 1; │ |│ ~~~~~~~~~~~~ │ |│ | │ |└────────────────────────────────>(9) ...to here │...... │ 1702 | if (YYMAXDEPTH <= yystacksize) │ | ~ │ | | │ | (10) following 'false' branch (when 'yystacksize <= 9999')... ─>─┐ │ | │ │ | │ │ |┌──────────────────────────────────────────────────────────────────────────┘ │ 1703 |│ YYNOMEM; │ 1704 |│ yystacksize *= 2; │ |│ ~~~~~~~~~~~~~~~~ │ |│ | │ |└─────────────────>(11) ...to here │...... │ 1713 | if (! yyptr) │ | ~ │ | | │ | (12) following 'false' branch (when 'yyptr' is non-NULL)... ─>─┐ │ | │ │ '_asn1_yyparse': event 13 │ │ | │ │ |┌──────────────────────────────────────────────────────────────────────────┘ │ 754 |│ __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src))) │ |│ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │ |│ | │ |└─────>(13) ...to here ASN1.c:739:9: note: in expansion of macro 'YYCOPY' │ 739 | YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \ │ | ^~~~~~ ASN1.c:1715:9: note: in expansion of macro 'YYSTACK_RELOCATE' │ 1715 | YYSTACK_RELOCATE (yyss_alloc, yyss); │ | ^~~~~~~~~~~~~~~~ │ '_asn1_yyparse': event 14 │ │ 754 | __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src))) │ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │ | | │ | (14) ⚠️ use of uninitialized value 'yyss' here ASN1.c:739:9: note: in expansion of macro 'YYCOPY' │ 739 | YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \ │ | ^~~~~~ ASN1.c:1715:9: note: in expansion of macro 'YYSTACK_RELOCATE' │ 1715 | YYSTACK_RELOCATE (yyss_alloc, yyss); │ | ^~~~~~~~~~~~~~~~ │ ASN1.c:1842:9: warning: use of uninitialized value '*' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 1842 | yyval = yyvsp[1-yylen]; | ~~~~~~^~~~~~~~~~~~~~~~ 'asn1_parser2array': events 1-2 │ │ASN1.y:788:1: │ 788 | asn1_parser2array (const char *inputFileName, const char *outputFileName, │ | ^~~~~~~~~~~~~~~~~ │ | | │ | (1) entry to 'asn1_parser2array' │...... │ 802 | if (file_asn1 == NULL) │ | ~ │ | | │ | (2) following 'false' branch... ─>─┐ │ | │ │ 'asn1_parser2array': event 3 │ │ | │ │ |┌────────────────────────────────────────┘ │ 808 |│ result_parse = ASN1_SUCCESS; │ 'asn1_parser2array': event 4 │ │ASN1.c:69:25: │ 69 | #define yyparse _asn1_yyparse ASN1.y:811:3: note: in expansion of macro 'yyparse' │ 811 | yyparse (); │ | ^~~~~~~ │ └──> '_asn1_yyparse': event 5 │ │ASN1.c:69:25: │ 69 | #define yyparse _asn1_yyparse │ | ^~~~~~~~~~~~~ │ | | │ | (5) entry to '_asn1_yyparse' ASN1.c:1604:1: note: in expansion of macro 'yyparse' │ 1604 | yyparse (void) │ | ^~~~~~~ │ '_asn1_yyparse': events 6-11 │ │ 1622 | YYSTYPE yyvsa[YYINITDEPTH]; │ | ^~~~~ │ | | │ | (6) region created on stack here │...... │ 1673 | if (yyss + yystacksize - 1 <= yyssp) │ | ~ │ | | │ | (7) following 'false' branch... ─>─┐ │ | │ │...... │ | │ │ |┌────────────────────────────────────────┘ │ 1737 |│ if (yystate == YYFINAL) │ |│ ~ │ |│ | │ |└────>(8) ...to here │ | (9) following 'false' branch (when 'yystate != 5')... ─>─┐ │ | │ │...... │ | │ │ |┌──────────────────────────────────────────────────────────────┘ │ 1740 |│ goto yybackup; │ |│ ~~~~ │ |│ | │ |└─>(10) ...to here │...... │ 1752 | if (yypact_value_is_default (yyn)) │ | ~ │ | | │ | (11) following 'false' branch (when 'yyn != -140')... ─>─┐ │ | │ │ '_asn1_yyparse': event 12 │ │ | │ │ |┌──────────────────────────────────────────────────────────────┘ │ 1758 |│ if (yychar == _ASN1_YYEMPTY) │ '_asn1_yyparse': event 13 │ │ 1758 | if (yychar == _ASN1_YYEMPTY) │ | ^ │ | | │ | (13) following 'true' branch... ─>─┐ │ | │ │ '_asn1_yyparse': event 14 │ │ASN1.c:70:25: │ | │ │ |┌────────────────────────────────────────┘ │ 70 |│#define yylex _asn1_yylex ASN1.c:1761:16: note: in expansion of macro 'yylex' │ 1761 | yychar = yylex (); │ | ^~~~~ │ '_asn1_yyparse': event 15 │ │ 1770 | else if (yychar == _ASN1_YYerror) │ | ^ │ | | │ | (15) following 'false' branch... ─>─┐ │ | │ │ '_asn1_yyparse': event 16 │ │ | │ │ |┌──────────────────────────────────────────────┘ │ 789 |│ (0 <= (YYX) && (YYX) <= YYMAXUTOK \ │ |│ ^ │ |│ | │ |└─────────────>(16) ...to here ASN1.c:1782:17: note: in expansion of macro 'YYTRANSLATE' │ 1782 | yytoken = YYTRANSLATE (yychar); │ | ^~~~~~~~~~~ │ '_asn1_yyparse': events 17-21 │ │ 1789 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) │ | ^ │ | | │ | (17) following 'false' branch... ─>─┐ │ | │ │ | │ │ |┌─────────────────────────────────────────┘ │ 1790 |│ goto yydefault; │ 1791 |│ yyn = yytable[yyn]; │ |│ ~~~~~~~~~~~~ │ |│ | │ |└──────────────>(18) ...to here │ 1792 | if (yyn <= 0) │ | ~ │ | | │ | (19) following 'true' branch (when 'yyn <= 0')... ─>─┐ │ | │ │...... │ | │ │ |┌──────────────────────────────────────────────────────────┘ │ 1796 |│ yyn = -yyn; │ |│ ~~~~~~~~~~ │ |│ | │ |└─────────>(20) ...to here │...... │ 1842 | yyval = yyvsp[1-yylen]; │ | ~~~~~~~~~~~~~~~~~~~~~~ │ | | │ | (21) ⚠️ use of uninitialized value '*' here │ CC coding.lo CC decoding.lo CC element.lo CC errors.lo CC gstr.lo CC parser_aux.lo parser_aux.c:32:6: warning: no previous declaration for '_asn1_identifierMissing' [-Wmissing-variable-declarations] 32 | char _asn1_identifierMissing[ASN1_MAX_NAME_SIZE + 1]; /* identifier name not found */ | ^~~~~~~~~~~~~~~~~~~~~~~ In function '_asn1_find_up', inlined from '_asn1_set_default_tag' at parser_aux.c:1173:12: parser_aux.c:537:6: warning: infinite loop [CWE-835] [-Wanalyzer-infinite-loop] 537 | if (node == NULL) | ^ '_asn1_set_default_tag': event 1 │ │ 1144 | _asn1_set_default_tag (asn1_node node) │ | ^~~~~~~~~~~~~~~~~~~~~ │ | | │ | (1) entry to '_asn1_set_default_tag' │ └──> '_asn1_find_up.part.0': event 2 │ │ 533 | _asn1_find_up (asn1_node_const node) │ | ^~~~~~~~~~~~~ │ | | │ | (2) entry to '_asn1_find_up' │ <──────┘ │ '_asn1_set_default_tag': event 3 │ │ 1173 | p = _asn1_find_up (p); │ | ^ │ | | │ | (3) inlined call to '_asn1_find_up' from '_asn1_set_default_tag' │ └──> '_asn1_find_up': events 4-5 │ │ 537 | if (node == NULL) │ | ^ │ | | │ | (4) ⚠️ infinite loop here │ | (5) when 'p' is NULL: always following 'true' branch... ─>─┐ │ | │ │ <──────┘ │ '_asn1_set_default_tag': events 6-9 │ │ | │ │ |┌────────────────────────────────────────────────────────────────┘ │ 1174 |│ if (p == node) │ |│ ^ │ |│ | │ |└────────────────>(6) ...to here │ | (7) if it ever follows 'false' branch, it will always do so... ─>─┐ │ | │ │...... │ | │ │ |┌───────────────────────────────────────────────────────────────────────────────────┘ │ 1179 |│ if (p && p->right) │ |│ ~ │ |│ | │ |└────────────────>(8) ...to here │ | (9) if it ever follows 'false' branch, it will always do so... ─>─┐ │ | │ │ '_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 │ │ 1173 | p = _asn1_find_up (p); │ | ^ │ | | │ |└─────────────────>(12) inlined call to '_asn1_find_up' from '_asn1_set_default_tag' │ └──> '_asn1_find_up': event 13 │ │ 537 | if (node == NULL) │ | ^ │ | | │ | (13) ...to here │ CC structure.lo structure.c: In function '_asn1_copy_structure3': structure.c:458:22: warning: dereference of NULL 'p_d' [CWE-476] [-Wanalyzer-null-dereference] 458 | p_d->start = p_s->start; | ~~~~~~~~~~~^~~~~~~~~~~~ 'asn1_dup_node': events 1-2 │ │ 1234 | asn1_dup_node (asn1_node_const src, const char *src_name) │ | ^~~~~~~~~~~~~ │ | | │ | (1) entry to 'asn1_dup_node' │ 1235 | { │ 1236 | return _asn1_copy_structure2 (src, src_name); │ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │ | | │ | (2) calling '_asn1_copy_structure2' from 'asn1_dup_node' │ └──> '_asn1_copy_structure2': events 3-4 │ │ 495 | _asn1_copy_structure2 (asn1_node_const root, const char *source_name) │ | ^~~~~~~~~~~~~~~~~~~~~ │ | | │ | (3) entry to '_asn1_copy_structure2' │...... │ 501 | return _asn1_copy_structure3 (source_node); │ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │ | | │ | (4) calling '_asn1_copy_structure3' from '_asn1_copy_structure2' │ └──> '_asn1_copy_structure3': events 5-7 │ │ 424 | _asn1_copy_structure3 (asn1_node_const source_node) │ | ^~~~~~~~~~~~~~~~~~~~~ │ | | │ | (5) entry to '_asn1_copy_structure3' │...... │ 430 | if (source_node == NULL) │ | ~ │ | | │ | (6) following 'false' branch (when 'source_node' is non-NULL)... ─>─┐ │ | │ │...... │ | │ │ |┌─────────────────────────────────────────────────────────────────────────┘ │ 433 |│ dest_node = _asn1_add_single_node (source_node->type); │ |│ ~~~~~~~~~~~~~~~~~ │ |│ | │ |└───────────────────────────────────────────────>(7) ...to here │ '_asn1_copy_structure3': event 8 │ │ 433 | dest_node = _asn1_add_single_node (source_node->type); │ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │ | | │ | (8) calling '_asn1_add_single_node' from '_asn1_copy_structure3' │ └──> '_asn1_add_single_node': events 9-11 │ │ 51 | _asn1_add_single_node (unsigned int type) │ | ^~~~~~~~~~~~~~~~~~~~~ │ | | │ | (9) entry to '_asn1_add_single_node' │...... │ 56 | if (punt == NULL) │ | ~ │ | | │ | (10) following 'false' branch (when 'punt' is non-NULL)... ─>─┐ │ | │ │...... │ | │ │ |┌───────────────────────────────────────────────────────────────────┘ │ 59 |│ punt->type = type; │ |│ ~~~~~~~~~~~~~~~~~ │ |│ | │ |└────────────>(11) ...to here │ <──────┘ │ '_asn1_copy_structure3': events 12-13 │ │ 433 | dest_node = _asn1_add_single_node (source_node->type); │ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │ | | │ | (12) returning to '_asn1_copy_structure3' from '_asn1_add_single_node' │ 434 | if (dest_node == NULL) │ | ~ │ | | │ | (13) following 'false' branch (when 'dest_node' is non-NULL)... ─>─┐ │ | │ │ '_asn1_copy_structure3': event 14 │ │cc1: │ (14): ...to here │ '_asn1_copy_structure3': events 15-20 │ │ 444 | if (move != UP) │ | ^ │ | | │ | (15) following 'true' branch (when 'move != 1')... ─>─┐ │ | │ │ | │ │ |┌───────────────────────────────────────────────────────────────┘ │ 445 |│ { │ 446 |│ if (p_s->name[0] != 0) │ |│ ~~~~~~~~~~~~ │ |│ | │ |└──────────────────────>(16) ...to here │ 447 | _asn1_cpy_name (p_d, p_s); │ 448 | if (p_s->value) │ | ~ │ | | │ | (17) following 'true' branch... ─>─┐ │ | │ │ | │ │ |┌────────────────────────────────────────────────┘ │ 449 |│ _asn1_set_value (p_d, p_s->value, p_s->value_len); │ |│ ~~~~~~~~~~~~~~ │ |│ | │ |└────────────────────────────────────────────────>(18) ...to here │ 450 | if (p_s->down) │ | ~ │ | | │ | (19) following 'true' branch... ─>─┐ │ | │ │...... │ | │ │ |┌────────────────────────────────────────────────┘ │ 454 |│ p_d = _asn1_add_single_node (p_s->type); │ |│ ~~~~~~~~~ │ |│ | │ |└─────────────────────────────────────────────>(20) ...to here │ '_asn1_copy_structure3': event 21 │ │ 454 | p_d = _asn1_add_single_node (p_s->type); │ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │ | | │ | (21) calling '_asn1_add_single_node' from '_asn1_copy_structure3' │ └──> '_asn1_add_single_node': events 22-25 │ │ 51 | _asn1_add_single_node (unsigned int type) │ | ^~~~~~~~~~~~~~~~~~~~~ │ | | │ | (22) entry to '_asn1_add_single_node' │...... │ 55 | punt = calloc (1, sizeof (struct asn1_node_st)); │ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │ | | │ | (23) allocated here │ 56 | if (punt == NULL) │ | ~ │ | | │ | (24) assuming 'punt' is NULL │ | (25) following 'true' branch (when 'punt' is NULL)... ─>─┐ │ | │ │ '_asn1_add_single_node': event 26 │ │cc1: │ (26): ...to here │ <──────┘ │ '_asn1_copy_structure3': events 27-28 │ │ 454 | p_d = _asn1_add_single_node (p_s->type); │ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │ | | │ | (27) return of NULL to '_asn1_copy_structure3' from '_asn1_add_single_node' │ 455 | _asn1_set_down (p_d_prev, p_d); │ | ~ │ | | │ | (28) inlined call to '_asn1_set_down' from '_asn1_copy_structure3' │ └──> '_asn1_set_down': events 29-31 │ │parser_aux.h:112:6: │ 112 | if (node == NULL) │ | ^ │ | | │ | (29) following 'false' branch (when 'p_d' is non-NULL)... ─>─┐ │ | │ │ | │ │ |┌──────────────────────────────────────────────────────────────────┘ │ 113 |│ return node; │ 114 |│ node->down = down; │ |│ ~~~~~~~~~~~~~~~~~ │ |│ | │ |└────────────>(30) ...to here │ 115 | if (down) │ | ~ │ | | │ | (31) following 'false' branch (when 'p_d' is NULL)... ─>─┐ │ | │ │ <──────┘ │ '_asn1_copy_structure3': events 32-33 │ │structure.c:450:14: │ | │ │ |┌──────────────────────────────────────────────────────────────┘ │ 450 |│ if (p_s->down) │ |│ ^ │ |│ | │ |└────────────>(32) ...to here │...... │ 480 | while (p_s != source_node); │ | ~~~~~~~~~~~~~~~~~~ │ | | │ | (33) following 'true' branch (when 'p_s != source_node')... ─>─┐ │ | │ │ '_asn1_copy_structure3': event 34 │ │cc1: │ (34): ...to here │ '_asn1_copy_structure3': events 35-36 │ │ 444 | if (move != UP) │ | ^ │ | | │ | (35) following 'true' branch (when 'move != 1')... ─>─┐ │ | │ │ | │ │ |┌───────────────────────────────────────────────────────────────┘ │ 445 |│ { │ 446 |│ if (p_s->name[0] != 0) │ |│ ~~~~~~~~~~~~ │ |│ | │ |└──────────────────────>(36) ...to here │ '_asn1_copy_structure3': events 37-38 │ │ 446 | if (p_s->name[0] != 0) │ | ^ │ | | │ | (37) following 'false' branch... ─>─┐ │ | │ │ | │ │ |┌─────────────────────────────────────────────────┘ │ 447 |│ _asn1_cpy_name (p_d, p_s); │ 448 |│ if (p_s->value) │ |│ ~~~~~~~~~~ │ |│ | │ |└────────────────>(38) ...to here │ '_asn1_copy_structure3': events 39-40 │ │ 448 | if (p_s->value) │ | ^ │ | | │ | (39) following 'false' branch... ─>─┐ │ | │ │ | │ │ |┌─────────────────────────────────────────────────┘ │ 449 |│ _asn1_set_value (p_d, p_s->value, p_s->value_len); │ 450 |│ if (p_s->down) │ |│ ~~~~~~~~~ │ |│ | │ |└────────────────>(40) ...to here │ '_asn1_copy_structure3': events 41-42 │ │ 450 | if (p_s->down) │ | ^ │ | | │ | (41) following 'false' branch... ─>─┐ │ | │ │...... │ | │ │ |┌─────────────────────────────────────────────────┘ │ 458 |│ p_d->start = p_s->start; │ |│ ~~~~~~~~~~ │ |│ | │ |└─────────────────────────>(42) ...to here │ '_asn1_copy_structure3': event 43 │ │ 458 | p_d->start = p_s->start; │ | ~~~~~~~~~~~^~~~~~~~~~~~ │ | | │ | (43) ⚠️ dereference of NULL 'p_d' │ CC version.lo CCLD libtasn1.la make[3]: Leaving directory '/build/libtasn1-4.21.0/lib' make[2]: Leaving directory '/build/libtasn1-4.21.0/lib' Making all in src make[2]: Entering directory '/build/libtasn1-4.21.0/src' Making all in gl make[3]: Entering directory '/build/libtasn1-4.21.0/src/gl' GEN alloca.h GEN fcntl.h GEN getopt.h GEN getopt-cdefs.h GEN inttypes.h GEN limits.h GEN locale.h GEN stdckdint.h GEN stddef.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 '/build/libtasn1-4.21.0/src/gl' make[5]: Entering directory '/build/libtasn1-4.21.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-memset_explicit.lo CC libsgl_la-open.lo CC libsgl_la-progname.lo CC libsgl_la-read-file.lo CC libsgl_la-stat-time.lo CC libsgl_la-stdlib.lo CC libsgl_la-string.lo CC libsgl_la-timespec.lo CC libsgl_la-unistd.lo CC libsgl_la-version-etc.lo CC libsgl_la-version-etc-fsf.lo CC libsgl_la-fopen.lo CCLD libsgl.la make[5]: Leaving directory '/build/libtasn1-4.21.0/src/gl' make[4]: Leaving directory '/build/libtasn1-4.21.0/src/gl' make[3]: Leaving directory '/build/libtasn1-4.21.0/src/gl' make[3]: Entering directory '/build/libtasn1-4.21.0/src' CC asn1Parser.o CCLD asn1Parser CC asn1Coding.o asn1Coding.c: In function 'main': asn1Coding.c:344:34: warning: dereference of NULL 'der' [CWE-476] [-Wanalyzer-null-dereference] 344 | fprintf (stderr, "%02x ", der[k]); | ~~~^~~ 'main': events 1-3 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)... ─>─┐ | │ 'main': events 4-7 | │ |┌──────────────────────────────────────────────────────────────────────────────┘ 221 |│ inputFileAssignmentName = strdup (argv[optind + 1]); 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')... ─>─┐ | │ 'main': event 8 | │ |┌──────────────────────────────────────────────────────────────────┘ 256 |│ inputFile = fopen (inputFileAssignmentName, "r"); |│ ^ |│ | |└─────────────>(8) ...to here 'main': events 9-10 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-9 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)... ─>─┐ | │ 'main': events 10-13 | │ |┌──────────────────────────────────────────────────────────────────────────────┘ 221 |│ inputFileAssignmentName = strdup (argv[optind + 1]); 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')... ─>─┐ | │ 'main': event 14 | │ |┌───────────────────────────────────────────────────────────────────┘ 256 |│ inputFile = fopen (inputFileAssignmentName, "r"); |│ ^ |│ | |└─────────────>(14) ...to here 'main': events 15-25 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': event 26 | │ |┌──────────────────────────────────────────────────────────────────────┘ 352 |│ if (outputFileName == NULL) |│ ^ |│ | |└────────────────────────>(26) ...to here 'main': events 27-29 352 | if (outputFileName == NULL) | ^ | | | (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 CC asn1Decoding.o asn1Decoding.c: In function 'main': asn1Decoding.c:202:13: warning: 'der' should have been deallocated with 'rpl_free' but was deallocated with 'realloc' [CWE-762] [-Wanalyzer-mismatching-deallocation] 202 | der = realloc (der, der_len); | ^~~~~~~~~~~~~~~~~~~~~~ 'main': events 1-11 142 | if (optind == argc || optind == argc - 1 || optind == argc - 2) | ^ | | | (1) following 'false' branch... ─>─┐ | │ ...... | │ |┌────────────────────────────────────────┘ 149 |│ inputFileAsnName = strdup (argv[optind]); |│ ~ |│ | |└────────────────────────────────>(2) ...to here ...... 153 | if (!(inputFileAsnName && inputFileDerName && typeName)) | ~ | | | (3) following 'false' branch... ─>─┐ | │ ...... | │ |┌────────────────────────────────────────┘ 163 |│ asn1_parser2tree (inputFileAsnName, &definitions, errorDescription); |│ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |│ | |└───>(4) ...to here ...... 182 | if (asn1_result != ASN1_SUCCESS) | ~ | | | (5) following 'false' branch (when 'asn1_result == 0')... ─>─┐ | │ ...... | │ |┌──────────────────────────────────────────────────────────────────┘ 192 |│ size_t tmplen = 0; |│ ~~~~~~ |│ | |└──────────>(6) ...to here 193 | der = (unsigned char *) read_file (inputFileDerName, RF_BINARY, &tmplen); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | (7) allocated here (expects deallocation with 'rpl_free') ...... 200 | if (der != NULL) | ~ | | | (8) assuming 'der' is non-NULL | (9) following 'true' branch (when 'der' is non-NULL)... ─>─┐ | │ | │ |┌────────────────────────────────────────────────────────────────┘ 201 |│ { 202 |│ der = realloc (der, der_len); |│ ~~~~~~~~~~~~~~~~~~~~~~ |│ | |└───────────>(10) ...to here | (11) ⚠️ deallocated with 'realloc' here; allocation at (7) expects deallocation with 'rpl_free' CC benchmark.o CCLD asn1Decoding make[3]: Leaving directory '/build/libtasn1-4.21.0/src' make[2]: Leaving directory '/build/libtasn1-4.21.0/src' Making all in doc make[2]: Entering directory '/build/libtasn1-4.21.0/doc' make[3]: Entering directory '/build/libtasn1-4.21.0/doc' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/build/libtasn1-4.21.0/doc' make[2]: Leaving directory '/build/libtasn1-4.21.0/doc' Making all in examples make[2]: Entering directory '/build/libtasn1-4.21.0/examples' make all-am make[3]: Entering directory '/build/libtasn1-4.21.0/examples' CC CertificateExample.o CC pkix_asn1_tab.o pkix_asn1_tab.c:7:24: warning: no previous declaration for 'pkix_asn1_tab' [-Wmissing-variable-declarations] 7 | const asn1_static_node pkix_asn1_tab[] = { | ^~~~~~~~~~~~~ CCLD CertificateExample CC CrlExample.o CCLD CrlExample make[3]: Leaving directory '/build/libtasn1-4.21.0/examples' make[2]: Leaving directory '/build/libtasn1-4.21.0/examples' Making all in fuzz make[2]: Entering directory '/build/libtasn1-4.21.0/fuzz' CC corpus2array.o CCLD corpus2array make[2]: Leaving directory '/build/libtasn1-4.21.0/fuzz' Making all in tests make[2]: Entering directory '/build/libtasn1-4.21.0/tests' make all-am make[3]: Entering directory '/build/libtasn1-4.21.0/tests' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/build/libtasn1-4.21.0/tests' make[2]: Leaving directory '/build/libtasn1-4.21.0/tests' make[2]: Entering directory '/build/libtasn1-4.21.0' make[2]: Leaving directory '/build/libtasn1-4.21.0' make[1]: Leaving directory '/build/libtasn1-4.21.0' Running phase: checkPhase check flags: SHELL=/nix/store/svx59425zxp552p2b8gm11qj5r09b56i-bash-5.3p15/bin/bash VERBOSE=y check GEN public-submodule-commit make check-recursive make[1]: Entering directory '/build/libtasn1-4.21.0' Making check in lib make[2]: Entering directory '/build/libtasn1-4.21.0/lib' Making check in gl make[3]: Entering directory '/build/libtasn1-4.21.0/lib/gl' make check-recursive make[4]: Entering directory '/build/libtasn1-4.21.0/lib/gl' make[5]: Entering directory '/build/libtasn1-4.21.0/lib/gl' make[5]: Nothing to be done for 'check-am'. make[5]: Leaving directory '/build/libtasn1-4.21.0/lib/gl' make[4]: Leaving directory '/build/libtasn1-4.21.0/lib/gl' make[3]: Leaving directory '/build/libtasn1-4.21.0/lib/gl' make[3]: Entering directory '/build/libtasn1-4.21.0/lib' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/build/libtasn1-4.21.0/lib' make[2]: Leaving directory '/build/libtasn1-4.21.0/lib' Making check in src make[2]: Entering directory '/build/libtasn1-4.21.0/src' Making check in gl make[3]: Entering directory '/build/libtasn1-4.21.0/src/gl' make check-recursive make[4]: Entering directory '/build/libtasn1-4.21.0/src/gl' make[5]: Entering directory '/build/libtasn1-4.21.0/src/gl' make[5]: Nothing to be done for 'check-am'. make[5]: Leaving directory '/build/libtasn1-4.21.0/src/gl' make[4]: Leaving directory '/build/libtasn1-4.21.0/src/gl' make[3]: Leaving directory '/build/libtasn1-4.21.0/src/gl' make[3]: Entering directory '/build/libtasn1-4.21.0/src' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/build/libtasn1-4.21.0/src' make[2]: Leaving directory '/build/libtasn1-4.21.0/src' Making check in doc make[2]: Entering directory '/build/libtasn1-4.21.0/doc' make[3]: Entering directory '/build/libtasn1-4.21.0/doc' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/build/libtasn1-4.21.0/doc' make[2]: Leaving directory '/build/libtasn1-4.21.0/doc' Making check in examples make[2]: Entering directory '/build/libtasn1-4.21.0/examples' make check-am make[3]: Entering directory '/build/libtasn1-4.21.0/examples' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/build/libtasn1-4.21.0/examples' make[2]: Leaving directory '/build/libtasn1-4.21.0/examples' Making check in fuzz make[2]: Entering directory '/build/libtasn1-4.21.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 '/build/libtasn1-4.21.0/fuzz' CC libtasn1_array2tree_fuzzer.o libtasn1_array2tree_fuzzer.c:32:24: warning: no previous declaration for 'pkix_asn1_tab' [-Wmissing-variable-declarations] 32 | const asn1_static_node pkix_asn1_tab[] = { | ^~~~~~~~~~~~~ CC main.o CCLD libtasn1_array2tree_fuzzer CC libtasn1_parser2tree_fuzzer.o CCLD libtasn1_parser2tree_fuzzer CC libtasn1_pkix_der_fuzzer.o CCLD libtasn1_pkix_der_fuzzer CC libtasn1_gnutls_der_fuzzer.o libtasn1_gnutls_der_fuzzer.c:36:24: warning: no previous declaration for 'gnutls_asn1_tab' [-Wmissing-variable-declarations] 36 | const asn1_static_node gnutls_asn1_tab[] = { | ^~~~~~~~~~~~~~~ CCLD libtasn1_gnutls_der_fuzzer CC asn1_get_length_ber_fuzzer.o CCLD asn1_get_length_ber_fuzzer CC asn1_get_length_der_fuzzer.o CCLD asn1_get_length_der_fuzzer CC asn1_get_object_id_der_fuzzer.o CCLD asn1_get_object_id_der_fuzzer CC asn1_decode_simple_ber_fuzzer.o CCLD asn1_decode_simple_ber_fuzzer CC asn1_decode_simple_der_fuzzer.o CCLD asn1_decode_simple_der_fuzzer make[3]: Leaving directory '/build/libtasn1-4.21.0/fuzz' make check-TESTS make[3]: Entering directory '/build/libtasn1-4.21.0/fuzz' make[4]: Entering directory '/build/libtasn1-4.21.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.21.0 ============================================================================ # TOTAL: 9 # PASS: 9 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[4]: Leaving directory '/build/libtasn1-4.21.0/fuzz' make[3]: Leaving directory '/build/libtasn1-4.21.0/fuzz' make[2]: Leaving directory '/build/libtasn1-4.21.0/fuzz' Making check in tests make[2]: Entering directory '/build/libtasn1-4.21.0/tests' make check-am make[3]: Entering directory '/build/libtasn1-4.21.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 '/build/libtasn1-4.21.0/tests' CC Test_parser.o Test_parser.c:44:13: warning: no previous declaration for 'fileCorrectName' [-Wmissing-variable-declarations] 44 | const char *fileCorrectName; | ^~~~~~~~~~~~~~~ Test_parser.c:45:6: warning: no previous declaration for 'fileErroredName' [-Wmissing-variable-declarations] 45 | char fileErroredName[] = "Test_parser_ERROR.asn"; | ^~~~~~~~~~~~~~~ Test_parser.c:49:11: warning: no previous declaration for 'test_array' [-Wmissing-variable-declarations] 49 | test_type test_array[] = { | ^~~~~~~~~~ CCLD Test_parser CC Test_tree.o In file included from Test_tree.c:41: Test_tree_asn1_tab.c:7:24: warning: no previous declaration for 'Test_tree_asn1_tab' [-Wmissing-variable-declarations] 7 | const asn1_static_node Test_tree_asn1_tab[] = { | ^~~~~~~~~~~~~~~~~~ Test_tree.c:79:11: warning: no previous declaration for 'test_array' [-Wmissing-variable-declarations] 79 | test_type test_array[] = { | ^~~~~~~~~~ Test_tree.c: In function 'main': Test_tree.c:552:15: warning: use of uninitialized value 'der_len' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 552 | asn1_write_value (asn1_element, test->par1, der, der_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 'main': events 1-3 470 | int errorCounter = 0, testCounter = 0, der_len; | ^~~~~~~ | | | (1) region created on stack here | (2) capacity: 4 bytes ...... 503 | if (result != ASN1_SUCCESS) | ~ | | | (3) following 'false' branch (when 'result == 0')... ─>─┐ | │ 'main': events 4-5 | │ |┌─────────────────────────────────────────────────────────────┘ 511 |│ out = stdout; |│ ^ |│ | |└───────>(4) ...to here ...... 515 | if (out == NULL) | ~ | | | (5) following 'false' branch (when 'out' is non-NULL)... ─>─┐ | │ 'main': event 6 cc1: (6): ...to here 'main': events 7-13 529 | while (test->action != ACT_NULL) | ^ | | | (7) following 'true' branch... ─>─┐ | │ | │ |┌────────────────────────────────────────────────────────┘ 530 |│ { 531 |│ testCounter++; |│ ~~~~~~~~~~~~~ |│ | |└────────────────>(8) ...to here 532 | 533 | switch (test->action) | ~~~~~~ | | | (9) following 'case 3:' branch... ─>─┐ | │ ...... | │ |┌───────────────────────────────────────────┘ 549 |│ case ACT_WRITE: |│ ~~~~ |│ | |└───────>(10) ...to here 550 | if ((test->par2) && (!strcmp ("DER", test->par2))) | ~ | | | (11) following 'true' branch... ─>─┐ | │ | │ |┌────────────────────────────────────────────────┘ 551 |│ result = 552 |│ asn1_write_value (asn1_element, test->par1, der, der_len); |│ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |│ | |└─────────────>(12) ...to here | (13) ⚠️ use of uninitialized value 'der_len' here Test_tree.c:588:20: warning: use of uninitialized value 'der_len' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 588 | result = asn1_der_decoding (&asn1_element, der, der_len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 589 | errorDescription); | ~~~~~~~~~~~~~~~~~ 'main': events 1-3 470 | int errorCounter = 0, testCounter = 0, der_len; | ^~~~~~~ | | | (1) region created on stack here | (2) capacity: 4 bytes ...... 503 | if (result != ASN1_SUCCESS) | ~ | | | (3) following 'false' branch (when 'result == 0')... ─>─┐ | │ 'main': events 4-5 | │ |┌─────────────────────────────────────────────────────────────┘ 511 |│ out = stdout; |│ ^ |│ | |└───────>(4) ...to here ...... 515 | if (out == NULL) | ~ | | | (5) following 'false' branch (when 'out' is non-NULL)... ─>─┐ | │ 'main': event 6 cc1: (6): ...to here 'main': events 7-11 529 | while (test->action != ACT_NULL) | ^ | | | (7) following 'true' branch... ─>─┐ | │ | │ |┌────────────────────────────────────────────────────────┘ 530 |│ { 531 |│ testCounter++; |│ ~~~~~~~~~~~~~ |│ | |└────────────────>(8) ...to here 532 | 533 | switch (test->action) | ~~~~~~ | | | (9) following 'case 7:' branch... ─>─┐ | │ ...... | │ |┌───────────────────────────────────────────┘ 587 |│ case ACT_DECODING: |│ ~~~~ |│ | |└───────>(10) ...to here 588 | result = asn1_der_decoding (&asn1_element, der, der_len, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | (11) ⚠️ use of uninitialized value 'der_len' here 589 | errorDescription); | ~~~~~~~~~~~~~~~~~ Test_tree.c:593:13: warning: use of uninitialized value 'der_len' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 593 | asn1_der_decoding_element (&asn1_element, test->par1, der, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 594 | der_len, errorDescription); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 'main': events 1-3 470 | int errorCounter = 0, testCounter = 0, der_len; | ^~~~~~~ | | | (1) region created on stack here | (2) capacity: 4 bytes ...... 503 | if (result != ASN1_SUCCESS) | ~ | | | (3) following 'false' branch (when 'result == 0')... ─>─┐ | │ 'main': events 4-5 | │ |┌─────────────────────────────────────────────────────────────┘ 511 |│ out = stdout; |│ ^ |│ | |└───────>(4) ...to here ...... 515 | if (out == NULL) | ~ | | | (5) following 'false' branch (when 'out' is non-NULL)... ─>─┐ | │ 'main': event 6 cc1: (6): ...to here 'main': events 7-11 529 | while (test->action != ACT_NULL) | ^ | | | (7) following 'true' branch... ─>─┐ | │ | │ |┌────────────────────────────────────────────────────────┘ 530 |│ { 531 |│ testCounter++; |│ ~~~~~~~~~~~~~ |│ | |└────────────────>(8) ...to here 532 | 533 | switch (test->action) | ~~~~~~ | | | (9) following 'case 10:' branch... ─>─┐ | │ ...... | │ |┌────────────────────────────────────────────┘ 591 |│ case ACT_DECODING_ELEMENT: |│ ~~~~ |│ | |└───────>(10) ...to here 592 | result = 593 | asn1_der_decoding_element (&asn1_element, test->par1, der, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | (11) ⚠️ use of uninitialized value 'der_len' here 594 | der_len, errorDescription); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ Test_tree.c:598:13: warning: use of uninitialized value 'der_len' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 598 | asn1_der_decoding_startEnd (asn1_element, der, der_len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 599 | test->par1, &start, &end); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 'main': events 1-3 470 | int errorCounter = 0, testCounter = 0, der_len; | ^~~~~~~ | | | (1) region created on stack here | (2) capacity: 4 bytes ...... 503 | if (result != ASN1_SUCCESS) | ~ | | | (3) following 'false' branch (when 'result == 0')... ─>─┐ | │ 'main': events 4-5 | │ |┌─────────────────────────────────────────────────────────────┘ 511 |│ out = stdout; |│ ^ |│ | |└───────>(4) ...to here ...... 515 | if (out == NULL) | ~ | | | (5) following 'false' branch (when 'out' is non-NULL)... ─>─┐ | │ 'main': event 6 cc1: (6): ...to here 'main': events 7-11 529 | while (test->action != ACT_NULL) | ^ | | | (7) following 'true' branch... ─>─┐ | │ | │ |┌────────────────────────────────────────────────────────┘ 530 |│ { 531 |│ testCounter++; |│ ~~~~~~~~~~~~~ |│ | |└────────────────>(8) ...to here 532 | 533 | switch (test->action) | ~~~~~~ | | | (9) following 'case 13:' branch... ─>─┐ | │ ...... | │ |┌────────────────────────────────────────────┘ 596 |│ case ACT_DECODING_START_END: |│ ~~~~ |│ | |└───────>(10) ...to here 597 | result = 598 | asn1_der_decoding_startEnd (asn1_element, der, der_len, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | (11) ⚠️ use of uninitialized value 'der_len' here 599 | test->par1, &start, &end); | ~~~~~~~~~~~~~~~~~~~~~~~~~ Test_tree.c:624:15: warning: use of uninitialized value 'der_len' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 624 | printf ("DER encoding len:%i\n", der_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 'main': events 1-3 470 | int errorCounter = 0, testCounter = 0, der_len; | ^~~~~~~ | | | (1) region created on stack here | (2) capacity: 4 bytes ...... 503 | if (result != ASN1_SUCCESS) | ~ | | | (3) following 'false' branch (when 'result == 0')... ─>─┐ | │ 'main': events 4-5 | │ |┌─────────────────────────────────────────────────────────────┘ 511 |│ out = stdout; |│ ^ |│ | |└───────>(4) ...to here ...... 515 | if (out == NULL) | ~ | | | (5) following 'false' branch (when 'out' is non-NULL)... ─>─┐ | │ 'main': event 6 cc1: (6): ...to here 'main': events 7-13 529 | while (test->action != ACT_NULL) | ^ | | | (7) following 'true' branch... ─>─┐ | │ | │ |┌────────────────────────────────────────────────────────┘ 530 |│ { 531 |│ testCounter++; |│ ~~~~~~~~~~~~~ |│ | |└────────────────>(8) ...to here 532 | 533 | switch (test->action) | ~~~~~~ | | | (9) following 'case 8:' branch... ─>─┐ | │ ...... | │ |┌───────────────────────────────────────────┘ 621 |│ case ACT_PRINT_DER: |│ ~~~~ |│ | |└───────>(10) ...to here 622 | if (verbose) | ~ | | | (11) following 'true' branch (when 'verbose != 0')... ─>─┐ | │ | │ |┌──────────────────────────────────────────────────────────────────────┘ 623 |│ { 624 |│ printf ("DER encoding len:%i\n", der_len); |│ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |│ | |└─────────────>(12) ...to here | (13) ⚠️ use of uninitialized value 'der_len' here Test_tree.c:687:58: warning: use of uninitialized value 'valueLen' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 687 | if ((result != test->errorNumber) || (valueLen != test->par3)) | ~~~~~~~~~~^~~~~~~~~~~~~~ 'main': events 1-3 472 | int valueLen, tag = 0, class = 0; | ^~~~~~~~ | | | (1) region created on stack here | (2) capacity: 4 bytes ...... 503 | if (result != ASN1_SUCCESS) | ~ | | | (3) following 'false' branch (when 'result == 0')... ─>─┐ | │ 'main': events 4-5 | │ |┌─────────────────────────────────────────────────────────────┘ 511 |│ out = stdout; |│ ^ |│ | |└───────>(4) ...to here ...... 515 | if (out == NULL) | ~ | | | (5) following 'false' branch (when 'out' is non-NULL)... ─>─┐ | │ 'main': event 6 cc1: (6): ...to here 'main': events 7-11 529 | while (test->action != ACT_NULL) | ^ | | | (7) following 'true' branch... ─>─┐ | │ | │ |┌────────────────────────────────────────────────────────┘ 530 |│ { 531 |│ testCounter++; |│ ~~~~~~~~~~~~~ |│ | |└────────────────>(8) ...to here ...... 646 | switch (test->action) | ~~~~~~ | | | (9) following 'case 12:, case 17:' branch... ─>─┐ | │ ...... | │ |┌──────────────────────────────────────────────────────┘ 685 |│ case ACT_NUMBER_OF_ELEMENTS: |│ ~~~~ |│ | |└───────>(10) ...to here 686 | case ACT_READ_LENGTH: 687 | if ((result != test->errorNumber) || (valueLen != test->par3)) | ~ | | | (11) following 'false' branch... ─>─┐ | │ 'main': event 12 | │ |┌─────────────────────────────────────────────────┘ 687 |│ if ((result != test->errorNumber) || (valueLen != test->par3)) |│ ~~~~^~~~~~ |│ | |└───────────────────────────────────────────────────────────────>(12) ...to here 'main': event 13 687 | if ((result != test->errorNumber) || (valueLen != test->par3)) | ~~~~~~~~~~^~~~~~~~~~~~~~ | | | (13) ⚠️ use of uninitialized value 'valueLen' here Test_tree.c:694:15: warning: use of uninitialized value 'valueLen' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 694 | printf (" Error detected: %s - %d\n\n", asn1_strerror (result), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 695 | valueLen); | ~~~~~~~~~ 'main': events 1-3 472 | int valueLen, tag = 0, class = 0; | ^~~~~~~~ | | | (1) region created on stack here | (2) capacity: 4 bytes ...... 503 | if (result != ASN1_SUCCESS) | ~ | | | (3) following 'false' branch (when 'result == 0')... ─>─┐ | │ 'main': events 4-5 | │ |┌─────────────────────────────────────────────────────────────┘ 511 |│ out = stdout; |│ ^ |│ | |└───────>(4) ...to here ...... 515 | if (out == NULL) | ~ | | | (5) following 'false' branch (when 'out' is non-NULL)... ─>─┐ | │ 'main': event 6 cc1: (6): ...to here 'main': events 7-13 529 | while (test->action != ACT_NULL) | ^ | | | (7) following 'true' branch... ─>─┐ | │ | │ |┌────────────────────────────────────────────────────────┘ 530 |│ { 531 |│ testCounter++; |│ ~~~~~~~~~~~~~ |│ | |└────────────────>(8) ...to here ...... 646 | switch (test->action) | ~~~~~~ | | | (9) following 'case 12:, case 17:' branch... ─>─┐ | │ ...... | │ |┌──────────────────────────────────────────────────────┘ 685 |│ case ACT_NUMBER_OF_ELEMENTS: |│ ~~~~ |│ | |└───────>(10) ...to here 686 | case ACT_READ_LENGTH: 687 | if ((result != test->errorNumber) || (valueLen != test->par3)) | ~ | | | (11) following 'true' branch... ─>─┐ | │ ...... | │ |┌────────────────────────────────────────────────┘ 690 |│ printf ("ERROR in %d:\n", test->line); |│ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |│ | |└─────────────>(12) ...to here ...... 694 | printf (" Error detected: %s - %d\n\n", asn1_strerror (result), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | (13) ⚠️ use of uninitialized value 'valueLen' here 695 | valueLen); | ~~~~~~~~~ Test_tree.c:700:57: warning: use of uninitialized value 'der_len' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 700 | if ((result != test->errorNumber) || (der_len != test->par3)) | ~~~~~~~~~^~~~~~~~~~~~~~ 'main': events 1-3 470 | int errorCounter = 0, testCounter = 0, der_len; | ^~~~~~~ | | | (1) region created on stack here | (2) capacity: 4 bytes ...... 503 | if (result != ASN1_SUCCESS) | ~ | | | (3) following 'false' branch (when 'result == 0')... ─>─┐ | │ 'main': events 4-5 | │ |┌─────────────────────────────────────────────────────────────┘ 511 |│ out = stdout; |│ ^ |│ | |└───────>(4) ...to here ...... 515 | if (out == NULL) | ~ | | | (5) following 'false' branch (when 'out' is non-NULL)... ─>─┐ | │ 'main': event 6 cc1: (6): ...to here 'main': events 7-11 529 | while (test->action != ACT_NULL) | ^ | | | (7) following 'true' branch... ─>─┐ | │ | │ |┌────────────────────────────────────────────────────────┘ 530 |│ { 531 |│ testCounter++; |│ ~~~~~~~~~~~~~ |│ | |└────────────────>(8) ...to here ...... 646 | switch (test->action) | ~~~~~~ | | | (9) following 'case 18:' branch... ─>─┐ | │ ...... | │ |┌────────────────────────────────────────────┘ 699 |│ case ACT_ENCODING_LENGTH: |│ ~~~~ |│ | |└───────>(10) ...to here 700 | if ((result != test->errorNumber) || (der_len != test->par3)) | ~ | | | (11) following 'false' branch... ─>─┐ | │ 'main': event 12 | │ |┌─────────────────────────────────────────────────┘ 700 |│ if ((result != test->errorNumber) || (der_len != test->par3)) |│ ~~~~^~~~~~ |│ | |└──────────────────────────────────────────────────────────────>(12) ...to here 'main': event 13 700 | if ((result != test->errorNumber) || (der_len != test->par3)) | ~~~~~~~~~^~~~~~~~~~~~~~ | | | (13) ⚠️ use of uninitialized value 'der_len' here Test_tree.c:707:15: warning: use of uninitialized value 'der_len' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 707 | printf (" Error detected: %s - %d\n\n", asn1_strerror (result), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 708 | der_len); | ~~~~~~~~ 'main': events 1-3 470 | int errorCounter = 0, testCounter = 0, der_len; | ^~~~~~~ | | | (1) region created on stack here | (2) capacity: 4 bytes ...... 503 | if (result != ASN1_SUCCESS) | ~ | | | (3) following 'false' branch (when 'result == 0')... ─>─┐ | │ 'main': events 4-5 | │ |┌─────────────────────────────────────────────────────────────┘ 511 |│ out = stdout; |│ ^ |│ | |└───────>(4) ...to here ...... 515 | if (out == NULL) | ~ | | | (5) following 'false' branch (when 'out' is non-NULL)... ─>─┐ | │ 'main': event 6 cc1: (6): ...to here 'main': events 7-13 529 | while (test->action != ACT_NULL) | ^ | | | (7) following 'true' branch... ─>─┐ | │ | │ |┌────────────────────────────────────────────────────────┘ 530 |│ { 531 |│ testCounter++; |│ ~~~~~~~~~~~~~ |│ | |└────────────────>(8) ...to here ...... 646 | switch (test->action) | ~~~~~~ | | | (9) following 'case 18:' branch... ─>─┐ | │ ...... | │ |┌────────────────────────────────────────────┘ 699 |│ case ACT_ENCODING_LENGTH: |│ ~~~~ |│ | |└───────>(10) ...to here 700 | if ((result != test->errorNumber) || (der_len != test->par3)) | ~ | | | (11) following 'true' branch... ─>─┐ | │ ...... | │ |┌────────────────────────────────────────────────┘ 703 |│ printf ("ERROR in %d:\n", test->line); |│ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |│ | |└─────────────>(12) ...to here ...... 707 | printf (" Error detected: %s - %d\n\n", asn1_strerror (result), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | (13) ⚠️ use of uninitialized value 'der_len' here 708 | der_len); | ~~~~~~~~ Test_tree.c:729:58: warning: use of uninitialized value 'start' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 729 | ((!strcmp (test->par2, "START")) && (start != test->par3)) || | ~~~~~~~^~~~~~~~~~~~~~ 'main': events 1-3 474 | int start, end, verbose = 0; | ^~~~~ | | | (1) region created on stack here | (2) capacity: 4 bytes ...... 503 | if (result != ASN1_SUCCESS) | ~ | | | (3) following 'false' branch (when 'result == 0')... ─>─┐ | │ 'main': events 4-5 | │ |┌─────────────────────────────────────────────────────────────┘ 511 |│ out = stdout; |│ ^ |│ | |└───────>(4) ...to here ...... 515 | if (out == NULL) | ~ | | | (5) following 'false' branch (when 'out' is non-NULL)... ─>─┐ | │ 'main': event 6 cc1: (6): ...to here 'main': events 7-12 529 | while (test->action != ACT_NULL) | ^ | | | (7) following 'true' branch... ─>─┐ | │ | │ |┌────────────────────────────────────────────────────────┘ 530 |│ { 531 |│ testCounter++; |│ ~~~~~~~~~~~~~ |│ | |└────────────────>(8) ...to here ...... 646 | switch (test->action) | ~~~~~~ | | | (9) following 'case 13:' branch... ─>─┐ | │ ...... | │ |┌────────────────────────────────────────────┘ 727 |│ case ACT_DECODING_START_END: |│ ~~~~ |│ | |└───────>(10) ...to here 728 | if ((result != test->errorNumber) || | ~ | | | (11) following 'false' branch... ─>─┐ | │ | │ |┌─────────────────────────────────────────────────┘ 729 |│ ((!strcmp (test->par2, "START")) && (start != test->par3)) || |│ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |│ | |└────────────────>(12) ...to here 'main': events 13-14 728 | if ((result != test->errorNumber) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ | | | (13) following 'true' branch (when the strings are equal)... ─>─┐ | │ | │ |┌────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ 729 |│ ((!strcmp (test->par2, "START")) && (start != test->par3)) || |│ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |│ | |└───────────────────────────────────────────────────────────────>(14) ...to here 'main': event 15 729 | ((!strcmp (test->par2, "START")) && (start != test->par3)) || | ~~~~~~~^~~~~~~~~~~~~~ | | | (15) ⚠️ use of uninitialized value 'start' here Test_tree.c:730:54: warning: use of uninitialized value 'end' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 730 | ((!strcmp (test->par2, "END")) && (end != test->par3))) | ~~~~~^~~~~~~~~~~~~~ 'main': events 1-3 474 | int start, end, verbose = 0; | ^~~ | | | (1) region created on stack here | (2) capacity: 4 bytes ...... 503 | if (result != ASN1_SUCCESS) | ~ | | | (3) following 'false' branch (when 'result == 0')... ─>─┐ | │ 'main': events 4-5 | │ |┌─────────────────────────────────────────────────────────────┘ 511 |│ out = stdout; |│ ^ |│ | |└───────>(4) ...to here ...... 515 | if (out == NULL) | ~ | | | (5) following 'false' branch (when 'out' is non-NULL)... ─>─┐ | │ 'main': event 6 cc1: (6): ...to here 'main': events 7-12 529 | while (test->action != ACT_NULL) | ^ | | | (7) following 'true' branch... ─>─┐ | │ | │ |┌────────────────────────────────────────────────────────┘ 530 |│ { 531 |│ testCounter++; |│ ~~~~~~~~~~~~~ |│ | |└────────────────>(8) ...to here ...... 646 | switch (test->action) | ~~~~~~ | | | (9) following 'case 13:' branch... ─>─┐ | │ ...... | │ |┌────────────────────────────────────────────┘ 727 |│ case ACT_DECODING_START_END: |│ ~~~~ |│ | |└───────>(10) ...to here 728 | if ((result != test->errorNumber) || | ~ | | | (11) following 'false' branch... ─>─┐ | │ | │ |┌─────────────────────────────────────────────────┘ 729 |│ ((!strcmp (test->par2, "START")) && (start != test->par3)) || |│ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |│ | |└────────────────>(12) ...to here 'main': events 13-15 728 | if ((result != test->errorNumber) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ | | | (13) following 'false' branch (when the strings are non-equal)... ─>─┐ | │ | │ |┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ 729 |│ ((!strcmp (test->par2, "START")) && (start != test->par3)) || |│ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |│ | |│ (15) following 'true' branch (when the strings are equal)... ─>─┐ |│ │ |│ │ |┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ 730 |│ ((!strcmp (test->par2, "END")) && (end != test->par3))) |│ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |│ | |└────────────────>(14) ...to here 'main': event 16 730 | ((!strcmp (test->par2, "END")) && (end != test->par3))) | ~~~~^~~~~~ | | |└───────────────────────────────────────────────────────────>(16) ...to here 'main': event 17 730 | ((!strcmp (test->par2, "END")) && (end != test->par3))) | ~~~~~^~~~~~~~~~~~~~ | | | (17) ⚠️ use of uninitialized value 'end' here Test_tree.c:739:15: warning: use of uninitialized value 'end' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 739 | printf (" Error detected: %s - %d - %d\n\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 740 | asn1_strerror (result), start, end); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 'main': events 1-3 474 | int start, end, verbose = 0; | ^~~ | | | (1) region created on stack here | (2) capacity: 4 bytes ...... 503 | if (result != ASN1_SUCCESS) | ~ | | | (3) following 'false' branch (when 'result == 0')... ─>─┐ | │ 'main': events 4-5 | │ |┌─────────────────────────────────────────────────────────────┘ 511 |│ out = stdout; |│ ^ |│ | |└───────>(4) ...to here ...... 515 | if (out == NULL) | ~ | | | (5) following 'false' branch (when 'out' is non-NULL)... ─>─┐ | │ 'main': event 6 cc1: (6): ...to here 'main': events 7-13 529 | while (test->action != ACT_NULL) | ^ | | | (7) following 'true' branch... ─>─┐ | │ | │ |┌────────────────────────────────────────────────────────┘ 530 |│ { 531 |│ testCounter++; |│ ~~~~~~~~~~~~~ |│ | |└────────────────>(8) ...to here ...... 646 | switch (test->action) | ~~~~~~ | | | (9) following 'case 13:' branch... ─>─┐ | │ ...... | │ |┌────────────────────────────────────────────┘ 727 |│ case ACT_DECODING_START_END: |│ ~~~~ |│ | |└───────>(10) ...to here 728 | if ((result != test->errorNumber) || | ~ | | | (11) following 'true' branch... ─>─┐ | │ ...... | │ |┌────────────────────────────────────────────────┘ 733 |│ printf ("ERROR in %d:\n", test->line); |│ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |│ | |└─────────────>(12) ...to here ...... 739 | printf (" Error detected: %s - %d - %d\n\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | (13) ⚠️ use of uninitialized value 'end' here 740 | asn1_strerror (result), start, end); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Test_tree.c:769:32: warning: use of uninitialized value 'valueLen' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 769 | if (valueLen % 8 == 0) | ~~~~~~~~~~~~~^~~~ 'main': events 1-3 472 | int valueLen, tag = 0, class = 0; | ^~~~~~~~ | | | (1) region created on stack here | (2) capacity: 4 bytes ...... 503 | if (result != ASN1_SUCCESS) | ~ | | | (3) following 'false' branch (when 'result == 0')... ─>─┐ | │ 'main': events 4-5 | │ |┌─────────────────────────────────────────────────────────────┘ 511 |│ out = stdout; |│ ^ |│ | |└───────>(4) ...to here ...... 515 | if (out == NULL) | ~ | | | (5) following 'false' branch (when 'out' is non-NULL)... ─>─┐ | │ 'main': event 6 cc1: (6): ...to here 'main': events 7-13 529 | while (test->action != ACT_NULL) | ^ | | | (7) following 'true' branch... ─>─┐ | │ | │ |┌────────────────────────────────────────────────────────┘ 530 |│ { 531 |│ testCounter++; |│ ~~~~~~~~~~~~~ |│ | |└────────────────>(8) ...to here ...... 646 | switch (test->action) | ~~~~~~ | | | (9) following 'case 4:, case 14:, case 19:' branch... ─>─┐ | │ ...... | │ |┌───────────────────────────────────────────────────────────────┘ 764 |│ case ACT_READ: |│ ~~~~ |│ | |└───────>(10) ...to here ...... 767 | if (test->action == ACT_READ_BIT) | ~ | | | (11) following 'true' branch... ─>─┐ | │ | │ |┌────────────────────────────────────────────────┘ 768 |│ { 769 |│ if (valueLen % 8 == 0) |│ ~~~~~~~~~~~~~~~~~ |│ | |└──────────────────────────────>(12) ...to here | (13) ⚠️ use of uninitialized value 'valueLen' here Test_tree.c:787:25: warning: use of uninitialized value 'valueLen' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 787 | (valueLen != test->par3) || (k == -1)) | ~~~~~~~~~~^~~~~~~~~~~~~~ 'main': events 1-3 472 | int valueLen, tag = 0, class = 0; | ^~~~~~~~ | | | (1) region created on stack here | (2) capacity: 4 bytes ...... 503 | if (result != ASN1_SUCCESS) | ~ | | | (3) following 'false' branch (when 'result == 0')... ─>─┐ | │ 'main': events 4-5 | │ |┌─────────────────────────────────────────────────────────────┘ 511 |│ out = stdout; |│ ^ |│ | |└───────>(4) ...to here ...... 515 | if (out == NULL) | ~ | | | (5) following 'false' branch (when 'out' is non-NULL)... ─>─┐ | │ 'main': event 6 cc1: (6): ...to here 'main': events 7-14 529 | while (test->action != ACT_NULL) | ^ | | | (7) following 'true' branch... ─>─┐ | │ | │ |┌────────────────────────────────────────────────────────┘ 530 |│ { 531 |│ testCounter++; |│ ~~~~~~~~~~~~~ |│ | |└────────────────>(8) ...to here ...... 646 | switch (test->action) | ~~~~~~ | | | (9) following 'case 4:, case 14:, case 19:' branch... ─>─┐ | │ ...... | │ |┌───────────────────────────────────────────────────────────────┘ 764 |│ case ACT_READ: |│ ~~~~ |│ | |└───────>(10) ...to here ...... 767 | if (test->action == ACT_READ_BIT) | ~ | | | (11) following 'false' branch... ─>─┐ | │ ...... | │ |┌─────────────────────────────────────────────────┘ 779 |│ for (k = 0; k < class; k++) |│ ~~~ ~~~~~~~~~ |│ | | |│ | (13) following 'false' branch... ─>─┐ |└─────────>(12) ...to here │ | │ ...... | │ |┌────────────────────────────────────────────────────────────┘ 786 |│ if ((result != test->errorNumber) || |│ ~~~~~~~~~~~~~~~~~ |│ | |└────────────────────────────>(14) ...to here 'main': events 15-16 786 | if ((result != test->errorNumber) || | ^ | | | (15) following 'false' branch... ─>─┐ | │ | │ |┌─────────────────────────────────────────────────┘ 787 |│ (valueLen != test->par3) || (k == -1)) |│ ~~~~~~~~~~ |│ | |└──────────────────────────────>(16) ...to here 'main': event 17 787 | (valueLen != test->par3) || (k == -1)) | ~~~~~~~~~~^~~~~~~~~~~~~~ | | | (17) ⚠️ use of uninitialized value 'valueLen' here Test_tree.c:796:15: warning: use of uninitialized value 'valueLen' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 796 | printf ("\n Error detected: %s - %d - ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 797 | asn1_strerror (result), valueLen); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 'main': events 1-3 472 | int valueLen, tag = 0, class = 0; | ^~~~~~~~ | | | (1) region created on stack here | (2) capacity: 4 bytes ...... 503 | if (result != ASN1_SUCCESS) | ~ | | | (3) following 'false' branch (when 'result == 0')... ─>─┐ | │ 'main': events 4-5 | │ |┌─────────────────────────────────────────────────────────────┘ 511 |│ out = stdout; |│ ^ |│ | |└───────>(4) ...to here ...... 515 | if (out == NULL) | ~ | | | (5) following 'false' branch (when 'out' is non-NULL)... ─>─┐ | │ 'main': event 6 cc1: (6): ...to here 'main': events 7-14 529 | while (test->action != ACT_NULL) | ^ | | | (7) following 'true' branch... ─>─┐ | │ | │ |┌────────────────────────────────────────────────────────┘ 530 |│ { 531 |│ testCounter++; |│ ~~~~~~~~~~~~~ |│ | |└────────────────>(8) ...to here ...... 646 | switch (test->action) | ~~~~~~ | | | (9) following 'case 4:, case 14:, case 19:' branch... ─>─┐ | │ ...... | │ |┌───────────────────────────────────────────────────────────────┘ 764 |│ case ACT_READ: |│ ~~~~ |│ | |└───────>(10) ...to here ...... 767 | if (test->action == ACT_READ_BIT) | ~ | | | (11) following 'false' branch... ─>─┐ | │ ...... | │ |┌─────────────────────────────────────────────────┘ 779 |│ for (k = 0; k < class; k++) |│ ~~~ ~~~~~~~~~ |│ | | |│ | (13) following 'false' branch... ─>─┐ |└─────────>(12) ...to here │ | │ ...... | │ |┌────────────────────────────────────────────────────────────┘ 786 |│ if ((result != test->errorNumber) || |│ ~~~~~~~~~~~~~~~~~ |│ | |└────────────────────────────>(14) ...to here 'main': events 15-17 786 | if ((result != test->errorNumber) || | ^ | | | (15) following 'true' branch... ─>─┐ | │ ...... | │ |┌────────────────────────────────────────────────┘ 790 |│ printf ("ERROR in %d:\n", test->line); |│ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |│ | |└─────────────>(16) ...to here ...... 796 | printf ("\n Error detected: %s - %d - ", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | (17) ⚠️ use of uninitialized value 'valueLen' here 797 | asn1_strerror (result), valueLen); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CCLD Test_tree CC Test_encoding.o Test_encoding.c:34:15: warning: no previous declaration for 'data' [-Wmissing-variable-declarations] 34 | unsigned char data[256]; | ^~~~ Test_encoding.c:35:5: warning: no previous declaration for 'data_size' [-Wmissing-variable-declarations] 35 | int data_size = sizeof (data); | ^~~~~~~~~ CCLD Test_encoding CC Test_indefinite.o CCLD Test_indefinite CC Test_errors.o CCLD Test_errors CC Test_simple.o CCLD Test_simple CC Test_overflow.o CCLD Test_overflow CC Test_strings.o CCLD Test_strings CC Test_choice.o CCLD Test_choice CC Test_encdec.o CCLD Test_encdec CC copynode.o CCLD copynode CC coding-decoding2.o CCLD coding-decoding2 CC strict-der.o CCLD strict-der CC Test_choice_ocsp.o CCLD Test_choice_ocsp CC ocsp-basic-response.o CCLD ocsp-basic-response CC octet-string.o CCLD octet-string CC coding-long-oid.o coding-long-oid.c:32:21: warning: no previous declaration for 'der_data' [-Wmissing-variable-declarations] 32 | const unsigned char der_data[] = | ^~~~~~~~ coding-long-oid.c:144:5: warning: no previous declaration for 'der_data_size' [-Wmissing-variable-declarations] 144 | int der_data_size = sizeof (der_data) - 1; | ^~~~~~~~~~~~~ coding-long-oid.c:146:6: warning: no previous declaration for 'new_data' [-Wmissing-variable-declarations] 146 | char new_data[4 * 1024]; | ^~~~~~~~ CCLD coding-long-oid CC object-id-decoding.o CCLD object-id-decoding CC spc_pe_image_data.o CCLD spc_pe_image_data CC setof.o setof.c:47:5: warning: no previous declaration for 'data_size' [-Wmissing-variable-declarations] 47 | int data_size = sizeof (data); | ^~~~~~~~~ CCLD setof CC CVE-2018-1000654.o In file included from CVE-2018-1000654.c:30: CVE-2018-1000654-1_asn1_tab.h:7:24: warning: no previous declaration for 'CVE_2018_1000654_1_asn1_tab' [-Wmissing-variable-declarations] 7 | const asn1_static_node CVE_2018_1000654_1_asn1_tab[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from CVE-2018-1000654.c:31: CVE-2018-1000654-2_asn1_tab.h:7:24: warning: no previous declaration for 'CVE_2018_1000654_2_asn1_tab' [-Wmissing-variable-declarations] 7 | const asn1_static_node CVE_2018_1000654_2_asn1_tab[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ CCLD CVE-2018-1000654 CC reproducers.o reproducers.c:38:24: warning: no previous declaration for 'endless_asn1_tab' [-Wmissing-variable-declarations] 38 | const asn1_static_node endless_asn1_tab[] = { | ^~~~~~~~~~~~~~~~ reproducers.c:50:24: warning: no previous declaration for 'tab' [-Wmissing-variable-declarations] 50 | const asn1_static_node tab[] = { | ^~~ CCLD reproducers CC object-id-encoding.o CCLD object-id-encoding CC version.o CCLD version make[4]: Nothing to be done for 'crlf.sh'. make[4]: Nothing to be done for 'benchmark.sh'. make[4]: Nothing to be done for 'threadsafety.sh'. make[4]: Nothing to be done for 'decoding.sh'. make[4]: Nothing to be done for 'decoding-invalid-x509.sh'. make[4]: Nothing to be done for 'decoding-invalid-pkcs7.sh'. make[4]: Nothing to be done for 'coding.sh'. make[4]: Nothing to be done for 'parser.sh'. make[4]: Leaving directory '/build/libtasn1-4.21.0/tests' make check-TESTS make[4]: Entering directory '/build/libtasn1-4.21.0/tests' make[5]: Entering directory '/build/libtasn1-4.21.0/tests' PASS: Test_parser PASS: Test_tree PASS: Test_encoding PASS: Test_indefinite PASS: Test_errors PASS: Test_simple PASS: Test_overflow PASS: Test_strings PASS: Test_choice PASS: Test_encdec PASS: copynode PASS: coding-decoding2 PASS: strict-der PASS: Test_choice_ocsp PASS: ocsp-basic-response PASS: octet-string PASS: coding-long-oid PASS: object-id-decoding PASS: spc_pe_image_data PASS: setof PASS: CVE-2018-1000654 PASS: reproducers PASS: object-id-encoding PASS: version PASS: crlf.sh PASS: threadsafety.sh PASS: decoding.sh PASS: decoding-invalid-x509.sh PASS: decoding-invalid-pkcs7.sh PASS: coding.sh PASS: parser.sh ============================================================================ Testsuite summary for GNU Libtasn1 4.21.0 ============================================================================ # TOTAL: 31 # PASS: 31 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[5]: Leaving directory '/build/libtasn1-4.21.0/tests' make[4]: Leaving directory '/build/libtasn1-4.21.0/tests' make[3]: Leaving directory '/build/libtasn1-4.21.0/tests' make[2]: Leaving directory '/build/libtasn1-4.21.0/tests' make[2]: Entering directory '/build/libtasn1-4.21.0' make[2]: Leaving directory '/build/libtasn1-4.21.0' make[1]: Leaving directory '/build/libtasn1-4.21.0' Running phase: installPhase install flags: SHELL=/nix/store/svx59425zxp552p2b8gm11qj5r09b56i-bash-5.3p15/bin/bash pkgconfigdir=/nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/lib/pkgconfig m4datadir=/nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/share/aclocal aclocaldir=/nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/share/aclocal install make install-recursive make[1]: Entering directory '/build/libtasn1-4.21.0' Making install in lib make[2]: Entering directory '/build/libtasn1-4.21.0/lib' Making install in gl make[3]: Entering directory '/build/libtasn1-4.21.0/lib/gl' make install-recursive make[4]: Entering directory '/build/libtasn1-4.21.0/lib/gl' make[5]: Entering directory '/build/libtasn1-4.21.0/lib/gl' make[6]: Entering directory '/build/libtasn1-4.21.0/lib/gl' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Leaving directory '/build/libtasn1-4.21.0/lib/gl' make[5]: Leaving directory '/build/libtasn1-4.21.0/lib/gl' make[4]: Leaving directory '/build/libtasn1-4.21.0/lib/gl' make[3]: Leaving directory '/build/libtasn1-4.21.0/lib/gl' make[3]: Entering directory '/build/libtasn1-4.21.0/lib' make[4]: Entering directory '/build/libtasn1-4.21.0/lib' /nix/store/xjl7p8dvyk2j53kqf7f43kdj4ypbxz7g-coreutils-9.11/bin/mkdir -p '/nix/store/8wq7bqr2ab5iq5kz6j7g9m2x2xgqm8b1-libtasn1-static-x86_64-unknown-linux-musl-4.21.0/lib' /nix/store/svx59425zxp552p2b8gm11qj5r09b56i-bash-5.3p15/bin/bash ../libtool --mode=install /nix/store/xjl7p8dvyk2j53kqf7f43kdj4ypbxz7g-coreutils-9.11/bin/install -c libtasn1.la '/nix/store/8wq7bqr2ab5iq5kz6j7g9m2x2xgqm8b1-libtasn1-static-x86_64-unknown-linux-musl-4.21.0/lib' libtool: install: /nix/store/xjl7p8dvyk2j53kqf7f43kdj4ypbxz7g-coreutils-9.11/bin/install -c .libs/libtasn1.lai /nix/store/8wq7bqr2ab5iq5kz6j7g9m2x2xgqm8b1-libtasn1-static-x86_64-unknown-linux-musl-4.21.0/lib/libtasn1.la libtool: install: /nix/store/xjl7p8dvyk2j53kqf7f43kdj4ypbxz7g-coreutils-9.11/bin/install -c .libs/libtasn1.a /nix/store/8wq7bqr2ab5iq5kz6j7g9m2x2xgqm8b1-libtasn1-static-x86_64-unknown-linux-musl-4.21.0/lib/libtasn1.a libtool: install: chmod 644 /nix/store/8wq7bqr2ab5iq5kz6j7g9m2x2xgqm8b1-libtasn1-static-x86_64-unknown-linux-musl-4.21.0/lib/libtasn1.a libtool: install: x86_64-unknown-linux-musl-ranlib /nix/store/8wq7bqr2ab5iq5kz6j7g9m2x2xgqm8b1-libtasn1-static-x86_64-unknown-linux-musl-4.21.0/lib/libtasn1.a libtool: finish: PATH="/nix/store/i2ki909d18rq6b93l23xxwp4cvqv0ibc-texinfo-7.3/bin:/nix/store/w03i01kiakf4wz7jbp1l59c0bhb3pjca-perl-5.42.3/bin:/nix/store/h9wq5kdv1jc9hxmwgn9vh9bwsigmnsj6-patchelf-0.15.2/bin:/nix/store/fpj9xnxp4apb9fydh7pj35gw8h6hdkk0-x86_64-unknown-linux-musl-gcc-wrapper-15.3.0/bin:/nix/store/71ydp3bkg9c37kc3hngij1hyg7m61gvw-x86_64-unknown-linux-musl-gcc-15.3.0/bin:/nix/store/k8lac650k3p6v2a6vs3qabrzw3swj90m-musl-static-x86_64-unknown-linux-musl-1.2.6-bin/bin:/nix/store/xjl7p8dvyk2j53kqf7f43kdj4ypbxz7g-coreutils-9.11/bin:/nix/store/vjqfhzqcfp15hvhyk4wgqp2xjihnccj1-x86_64-unknown-linux-musl-binutils-wrapper-2.46/bin:/nix/store/60lv8wlcr99wv4ck3sk9fzcbb4jbk2n6-x86_64-unknown-linux-musl-binutils-2.46/bin:/nix/store/xjl7p8dvyk2j53kqf7f43kdj4ypbxz7g-coreutils-9.11/bin:/nix/store/i9wgqa0l88aprvpwfaq5hkfa6pklhlv0-findutils-4.11.0/bin:/nix/store/b8xvzgd52jby5dfpi0pf46nisy6wma5d-diffutils-3.12/bin:/nix/store/qf2wzyq4irhgyhnq3s2hz0ldjq3w8a3x-gnused-4.10/bin:/nix/store/xmvbzzxm5snla5a2cyfhm7hjy9bifx7n-gnugrep-3.12/bin:/nix/store/9zib1q94gka8i5q530364cvy25504qz5-gawk-5.4.1/bin:/nix/store/41l3h8s1lr518n03bsrzv5vsf37bhnb9-gnutar-1.35/bin:/nix/store/l5sll8nxk70p73l5yqbsjy4mh0c3g0v5-gzip-1.14/bin:/nix/store/j3yz0ag9j442229n8harpmp9aa5qyvhn-bzip2-1.0.8-bin/bin:/nix/store/c011mk580m964s1zxjccvdax3fcmppnl-gnumake-4.4.1/bin:/nix/store/svx59425zxp552p2b8gm11qj5r09b56i-bash-5.3p15/bin:/nix/store/81zqbas7qc02yfdj7142fdcqhxgd3cgz-patch-2.8/bin:/nix/store/518dig8gpvqyac6pkksyjjfzvi9zn8vq-xz-5.8.3-bin/bin:/nix/store/fv9yl55hkskpc2cj9c0sdyq91car9kgl-file-5.48/bin:/sbin" ldconfig -n /nix/store/8wq7bqr2ab5iq5kz6j7g9m2x2xgqm8b1-libtasn1-static-x86_64-unknown-linux-musl-4.21.0/lib /build/libtasn1-4.21.0/libtool: line 1890: ldconfig: command not found ---------------------------------------------------------------------- Libraries have been installed in: /nix/store/8wq7bqr2ab5iq5kz6j7g9m2x2xgqm8b1-libtasn1-static-x86_64-unknown-linux-musl-4.21.0/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the 'LD_RUN_PATH' environment variable during linking - use the '-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator run these commands: See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- /nix/store/xjl7p8dvyk2j53kqf7f43kdj4ypbxz7g-coreutils-9.11/bin/mkdir -p '/nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/include' /nix/store/xjl7p8dvyk2j53kqf7f43kdj4ypbxz7g-coreutils-9.11/bin/install -c -m 644 includes/libtasn1.h '/nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/include' /nix/store/xjl7p8dvyk2j53kqf7f43kdj4ypbxz7g-coreutils-9.11/bin/mkdir -p '/nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/lib/pkgconfig' /nix/store/xjl7p8dvyk2j53kqf7f43kdj4ypbxz7g-coreutils-9.11/bin/install -c -m 644 libtasn1.pc '/nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/lib/pkgconfig' make[4]: Leaving directory '/build/libtasn1-4.21.0/lib' make[3]: Leaving directory '/build/libtasn1-4.21.0/lib' make[2]: Leaving directory '/build/libtasn1-4.21.0/lib' Making install in src make[2]: Entering directory '/build/libtasn1-4.21.0/src' Making install in gl make[3]: Entering directory '/build/libtasn1-4.21.0/src/gl' make install-recursive make[4]: Entering directory '/build/libtasn1-4.21.0/src/gl' make[5]: Entering directory '/build/libtasn1-4.21.0/src/gl' make[6]: Entering directory '/build/libtasn1-4.21.0/src/gl' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Leaving directory '/build/libtasn1-4.21.0/src/gl' make[5]: Leaving directory '/build/libtasn1-4.21.0/src/gl' make[4]: Leaving directory '/build/libtasn1-4.21.0/src/gl' make[3]: Leaving directory '/build/libtasn1-4.21.0/src/gl' make[3]: Entering directory '/build/libtasn1-4.21.0/src' make[4]: Entering directory '/build/libtasn1-4.21.0/src' /nix/store/xjl7p8dvyk2j53kqf7f43kdj4ypbxz7g-coreutils-9.11/bin/mkdir -p '/nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/bin' /nix/store/svx59425zxp552p2b8gm11qj5r09b56i-bash-5.3p15/bin/bash ../libtool --mode=install /nix/store/xjl7p8dvyk2j53kqf7f43kdj4ypbxz7g-coreutils-9.11/bin/install -c asn1Parser asn1Coding asn1Decoding '/nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/bin' libtool: install: /nix/store/xjl7p8dvyk2j53kqf7f43kdj4ypbxz7g-coreutils-9.11/bin/install -c asn1Parser /nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/bin/asn1Parser libtool: install: /nix/store/xjl7p8dvyk2j53kqf7f43kdj4ypbxz7g-coreutils-9.11/bin/install -c asn1Coding /nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/bin/asn1Coding libtool: install: /nix/store/xjl7p8dvyk2j53kqf7f43kdj4ypbxz7g-coreutils-9.11/bin/install -c asn1Decoding /nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/bin/asn1Decoding make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/build/libtasn1-4.21.0/src' make[3]: Leaving directory '/build/libtasn1-4.21.0/src' make[2]: Leaving directory '/build/libtasn1-4.21.0/src' Making install in doc make[2]: Entering directory '/build/libtasn1-4.21.0/doc' make[3]: Entering directory '/build/libtasn1-4.21.0/doc' make[4]: Entering directory '/build/libtasn1-4.21.0/doc' make[4]: Nothing to be done for 'install-exec-am'. /nix/store/xjl7p8dvyk2j53kqf7f43kdj4ypbxz7g-coreutils-9.11/bin/mkdir -p '/nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/share/info' /nix/store/xjl7p8dvyk2j53kqf7f43kdj4ypbxz7g-coreutils-9.11/bin/install -c -m 644 ./libtasn1.info '/nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/share/info' install-info --info-dir='/nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/share/info' '/nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/share/info/libtasn1.info' /nix/store/xjl7p8dvyk2j53kqf7f43kdj4ypbxz7g-coreutils-9.11/bin/mkdir -p '/nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/share/man/man1' /nix/store/xjl7p8dvyk2j53kqf7f43kdj4ypbxz7g-coreutils-9.11/bin/install -c -m 644 asn1Parser.1 asn1Coding.1 asn1Decoding.1 '/nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/share/man/man1' /nix/store/xjl7p8dvyk2j53kqf7f43kdj4ypbxz7g-coreutils-9.11/bin/mkdir -p '/nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/share/man/man3' /nix/store/xjl7p8dvyk2j53kqf7f43kdj4ypbxz7g-coreutils-9.11/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 '/nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/share/man/man3' /nix/store/xjl7p8dvyk2j53kqf7f43kdj4ypbxz7g-coreutils-9.11/bin/install -c -m 644 man/asn1_check_version.3 '/nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/share/man/man3' make[4]: Leaving directory '/build/libtasn1-4.21.0/doc' make[3]: Leaving directory '/build/libtasn1-4.21.0/doc' make[2]: Leaving directory '/build/libtasn1-4.21.0/doc' Making install in examples make[2]: Entering directory '/build/libtasn1-4.21.0/examples' make install-am make[3]: Entering directory '/build/libtasn1-4.21.0/examples' make[4]: Entering directory '/build/libtasn1-4.21.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 '/build/libtasn1-4.21.0/examples' make[3]: Leaving directory '/build/libtasn1-4.21.0/examples' make[2]: Leaving directory '/build/libtasn1-4.21.0/examples' Making install in fuzz make[2]: Entering directory '/build/libtasn1-4.21.0/fuzz' make[3]: Entering directory '/build/libtasn1-4.21.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 '/build/libtasn1-4.21.0/fuzz' make[2]: Leaving directory '/build/libtasn1-4.21.0/fuzz' Making install in tests make[2]: Entering directory '/build/libtasn1-4.21.0/tests' make install-am make[3]: Entering directory '/build/libtasn1-4.21.0/tests' make[4]: Entering directory '/build/libtasn1-4.21.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 '/build/libtasn1-4.21.0/tests' make[3]: Leaving directory '/build/libtasn1-4.21.0/tests' make[2]: Leaving directory '/build/libtasn1-4.21.0/tests' make[2]: Entering directory '/build/libtasn1-4.21.0' make[3]: Entering directory '/build/libtasn1-4.21.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 '/build/libtasn1-4.21.0' make[2]: Leaving directory '/build/libtasn1-4.21.0' make[1]: Leaving directory '/build/libtasn1-4.21.0' Running phase: fixupPhase Moving /nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/share/man/man3 to /nix/store/89jr5mm8pzavbnfzwnfj2grjkbhbgpxn-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-devdoc/share/man/man3 Patching '/nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/lib/pkgconfig/libtasn1.pc' includedir to output /nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev shrinking RPATHs of ELF executables and libraries in /nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev shrinking /nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/bin/asn1Parser patchelf: cannot find section '.dynamic'. The input file is most likely statically linked shrinking /nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/bin/asn1Decoding patchelf: cannot find section '.dynamic'. The input file is most likely statically linked shrinking /nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/bin/asn1Coding patchelf: cannot find section '.dynamic'. The input file is most likely statically linked checking for references to /build/ in /nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev... patchelf: cannot find section '.dynamic'. The input file is most likely statically linked patchelf: cannot find section '.dynamic'. The input file is most likely statically linked patchelf: cannot find section '.dynamic'. The input file is most likely statically linked gzipping man pages under /nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/share/man/ patching script interpreter paths in /nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev stripping (with command x86_64-unknown-linux-musl-strip and flags -S -p) in /nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/lib /nix/store/y7jlrr5ri4rgxdlka94r3h9hyg7shmkh-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-dev/bin shrinking RPATHs of ELF executables and libraries in /nix/store/89jr5mm8pzavbnfzwnfj2grjkbhbgpxn-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-devdoc checking for references to /build/ in /nix/store/89jr5mm8pzavbnfzwnfj2grjkbhbgpxn-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-devdoc... gzipping man pages under /nix/store/89jr5mm8pzavbnfzwnfj2grjkbhbgpxn-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-devdoc/share/man/ patching script interpreter paths in /nix/store/89jr5mm8pzavbnfzwnfj2grjkbhbgpxn-libtasn1-static-x86_64-unknown-linux-musl-4.21.0-devdoc shrinking RPATHs of ELF executables and libraries in /nix/store/8wq7bqr2ab5iq5kz6j7g9m2x2xgqm8b1-libtasn1-static-x86_64-unknown-linux-musl-4.21.0 checking for references to /build/ in /nix/store/8wq7bqr2ab5iq5kz6j7g9m2x2xgqm8b1-libtasn1-static-x86_64-unknown-linux-musl-4.21.0... patching script interpreter paths in /nix/store/8wq7bqr2ab5iq5kz6j7g9m2x2xgqm8b1-libtasn1-static-x86_64-unknown-linux-musl-4.21.0 stripping (with command x86_64-unknown-linux-musl-strip and flags -S -p) in /nix/store/8wq7bqr2ab5iq5kz6j7g9m2x2xgqm8b1-libtasn1-static-x86_64-unknown-linux-musl-4.21.0/lib