Project

General

Profile

Actions

Bug #2960

open

valgrind gives 'Conditional jump or move depends on uninitialised value(s)'

Added by Victor Julien over 5 years ago. Updated 12 months ago.

Status:
Feedback
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

Valgrind on Ubuntu 19.04 gives many hard to understand warnings:

$ valgrind --error-exitcode=255 --suppressions=../qa-tools/valgrind.suppress -v --leak-check=full --track-origins=yes ./src/suricata -c suricata.yaml --set classification-file=classification.config --set reference-config-file=reference.config -S /qa/ruleparser/open.rules -l /tmp/ -v -k none -r /qa/sandnet.pcap
==18625== Memcheck, a memory error detector
==18625== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==18625== Using Valgrind-3.14.0-353a3587bb-20181007X and LibVEX; rerun with -h for copyright info
==18625== Command: ./src/suricata -c suricata.yaml --set classification-file=classification.config --set reference-config-file=reference.config -S /qa/ruleparser/open.rules -l /tmp/ -v -k none -r /qa/sandnet.pcap
==18625== 
--18625-- Valgrind options:
--18625--    --error-exitcode=255
--18625--    --suppressions=../qa-tools/valgrind.suppress
--18625--    -v
--18625--    --leak-check=full
--18625--    --track-origins=yes
--18625-- Contents of /proc/version:
--18625--   Linux version 4.15.0-48-generic (buildd@lgw01-amd64-036) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #51-Ubuntu SMP Wed Apr 3 08:28:49 UTC 2019
--18625-- 
--18625-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-rdtscp-sse3
--18625-- Page sizes: currently 4096, max supported 4096
--18625-- Valgrind library directory: /usr/lib/x86_64-linux-gnu/valgrind
--18625-- Reading syms from /builds/inliniac/suricata-ci/suricata/src/suricata
--18625-- Reading syms from /usr/lib/x86_64-linux-gnu/ld-2.29.so
--18625--   Considering /usr/lib/x86_64-linux-gnu/ld-2.29.so ..
--18625--   .. CRC mismatch (computed c34345a7 wanted 87a50cbd)
--18625--   Considering /lib/x86_64-linux-gnu/ld-2.29.so ..
--18625--   .. CRC mismatch (computed c34345a7 wanted 87a50cbd)
--18625--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.29.so ..
--18625--   .. CRC is valid
--18625-- Reading syms from /usr/lib/x86_64-linux-gnu/valgrind/memcheck-amd64-linux
--18625--    object doesn't have a symbol table
--18625--    object doesn't have a dynamic symbol table
--18625-- Scheduler: using generic scheduler lock implementation.
--18625-- Reading suppressions file: ../qa-tools/valgrind.suppress
--18625-- Reading suppressions file: /usr/lib/x86_64-linux-gnu/valgrind/default.supp
==18625== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-18625-by-???-on-runner-b035f28b-project-2-concurrent-2
==18625== embedded gdbserver: writing to   /tmp/vgdb-pipe-to-vgdb-from-18625-by-???-on-runner-b035f28b-project-2-concurrent-2
==18625== embedded gdbserver: shared mem   /tmp/vgdb-pipe-shared-mem-vgdb-18625-by-???-on-runner-b035f28b-project-2-concurrent-2
==18625== 
==18625== TO CONTROL THIS PROCESS USING vgdb (which you probably
==18625== don't want to do, unless you know exactly what you're doing,
==18625== or are doing some strange experiment):
==18625==   /usr/lib/x86_64-linux-gnu/valgrind/../../bin/vgdb --pid=18625 ...command...
==18625== 
==18625== TO DEBUG THIS PROCESS USING GDB: start GDB like this
==18625==   /path/to/gdb ./src/suricata
==18625== and then give GDB the following command
==18625==   target remote | /usr/lib/x86_64-linux-gnu/valgrind/../../bin/vgdb --pid=18625
==18625== --pid is optional if only one valgrind process is running
==18625== 
--18625-- REDIR: 0x4020900 (ld-linux-x86-64.so.2:strlen) redirected to 0x580c7e62 (???)
--18625-- REDIR: 0x40206e0 (ld-linux-x86-64.so.2:index) redirected to 0x580c7e7c (???)
--18625-- Reading syms from /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_core-amd64-linux.so
--18625--    object doesn't have a symbol table
--18625-- Reading syms from /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so
--18625--    object doesn't have a symbol table
==18625== WARNING: new redirection conflicts with existing -- ignoring it
--18625--     old: 0x04020900 (strlen              ) R-> (0000.0) 0x580c7e62 ???
--18625--     new: 0x04020900 (strlen              ) R-> (2007.0) 0x0483bd50 strlen
--18625-- REDIR: 0x401d120 (ld-linux-x86-64.so.2:strcmp) redirected to 0x483ce10 (strcmp)
--18625-- REDIR: 0x4020e40 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x4840830 (mempcpy)
--18625-- Reading syms from /usr/lib/x86_64-linux-gnu/liblua5.1.so.0.0.0
--18625--    object doesn't have a symbol table
--18625-- Reading syms from /usr/lib/x86_64-linux-gnu/libdl-2.29.so
--18625--   Considering /usr/lib/x86_64-linux-gnu/libdl-2.29.so ..
--18625--   .. CRC mismatch (computed 2b258fba wanted d41115d0)
--18625--   Considering /lib/x86_64-linux-gnu/libdl-2.29.so ..
--18625--   .. CRC mismatch (computed 2b258fba wanted d41115d0)
--18625--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libdl-2.29.so ..
--18625--   .. CRC is valid
--18625-- Reading syms from /usr/lib/x86_64-linux-gnu/librt-2.29.so
--18625--   Considering /usr/lib/x86_64-linux-gnu/librt-2.29.so ..
--18625--   .. CRC mismatch (computed e7e20e8b wanted 79144663)
--18625--   Considering /lib/x86_64-linux-gnu/librt-2.29.so ..
--18625--   .. CRC mismatch (computed e7e20e8b wanted 79144663)
--18625--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/librt-2.29.so ..
--18625--   .. CRC is valid
--18625-- Reading syms from /usr/lib/x86_64-linux-gnu/libm-2.29.so
--18625--   Considering /usr/lib/x86_64-linux-gnu/libm-2.29.so ..
--18625--   .. CRC mismatch (computed 20ae39ce wanted 54a9b04f)
--18625--   Considering /lib/x86_64-linux-gnu/libm-2.29.so ..
--18625--   .. CRC mismatch (computed 20ae39ce wanted 54a9b04f)
--18625--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libm-2.29.so ..
--18625--   .. CRC is valid
--18625-- Reading syms from /usr/lib/x86_64-linux-gnu/libmagic.so.1.0.0
--18625--    object doesn't have a symbol table
--18625-- Reading syms from /usr/lib/x86_64-linux-gnu/libcap-ng.so.0.0.0
--18625--    object doesn't have a symbol table
--18625-- Reading syms from /usr/lib/x86_64-linux-gnu/libpcap.so.1.8.1
--18625--    object doesn't have a symbol table
--18625-- Reading syms from /usr/lib/x86_64-linux-gnu/libnet.so.1.7.0
--18625--   Considering /usr/lib/x86_64-linux-gnu/libnet.so.1.7.0 ..
--18625--   .. CRC mismatch (computed 06d7e875 wanted a33c5e2e)
--18625--   Considering /lib/x86_64-linux-gnu/libnet.so.1.7.0 ..
--18625--   .. CRC mismatch (computed 06d7e875 wanted a33c5e2e)
--18625--    object doesn't have a symbol table
--18625-- Reading syms from /usr/lib/x86_64-linux-gnu/libjansson.so.4.11.1
--18625--    object doesn't have a symbol table
--18625-- Reading syms from /usr/lib/x86_64-linux-gnu/libpthread-2.29.so
--18625--   Considering /usr/lib/debug/.build-id/d4/82f46b32cdaedf951b4e59b1d7b2e71b1645aa.debug ..
--18625--   .. build-id is valid
--18625-- Reading syms from /usr/lib/x86_64-linux-gnu/libyaml-0.so.2.0.5
--18625--    object doesn't have a symbol table
--18625-- Reading syms from /usr/lib/x86_64-linux-gnu/libpcre.so.3.13.3
--18625--   Considering /usr/lib/debug/.build-id/e6/534e2cc2aadddba0f94cd1e833fce53fe3db83.debug ..
--18625--   .. build-id is valid
--18625-- Reading syms from /usr/lib/x86_64-linux-gnu/libz.so.1.2.11
--18625--    object doesn't have a symbol table
--18625-- Reading syms from /usr/lib/x86_64-linux-gnu/libnss3.so
--18625--    object doesn't have a symbol table
--18625-- Reading syms from /usr/lib/x86_64-linux-gnu/libnspr4.so
--18625--    object doesn't have a symbol table
--18625-- Reading syms from /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
--18625--    object doesn't have a symbol table
--18625-- Reading syms from /usr/lib/x86_64-linux-gnu/libc-2.29.so
--18625--   Considering /usr/lib/x86_64-linux-gnu/libc-2.29.so ..
--18625--   .. CRC mismatch (computed 6bda65da wanted 2c1cad96)
--18625--   Considering /lib/x86_64-linux-gnu/libc-2.29.so ..
--18625--   .. CRC mismatch (computed 6bda65da wanted 2c1cad96)
--18625--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.29.so ..
--18625--   .. CRC is valid
--18625-- Reading syms from /usr/lib/x86_64-linux-gnu/libnssutil3.so
--18625--    object doesn't have a symbol table
--18625-- Reading syms from /usr/lib/x86_64-linux-gnu/libplc4.so
--18625--    object doesn't have a symbol table
--18625-- Reading syms from /usr/lib/x86_64-linux-gnu/libplds4.so
--18625--    object doesn't have a symbol table
--18625-- REDIR: 0x538e240 (libc.so.6:memmove) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x538d3e0 (libc.so.6:strncpy) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x538e560 (libc.so.6:strcasecmp) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x538cd20 (libc.so.6:strcat) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x538d440 (libc.so.6:rindex) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x538fd10 (libc.so.6:rawmemchr) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x53ab330 (libc.so.6:wmemchr) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x53aad40 (libc.so.6:wcscmp) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x538e3a0 (libc.so.6:mempcpy) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x538e1d0 (libc.so.6:bcmp) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x538d380 (libc.so.6:strncmp) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x538cdd0 (libc.so.6:strcmp) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x538e300 (libc.so.6:memset) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x53aad00 (libc.so.6:wcschr) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x538d2e0 (libc.so.6:strnlen) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x538cea0 (libc.so.6:strcspn) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x538e5b0 (libc.so.6:strncasecmp) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x538ce40 (libc.so.6:strcpy) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x538e6f0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x53ac650 (libc.so.6:wcsnlen) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x538d480 (libc.so.6:strpbrk) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x538cd80 (libc.so.6:index) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x538d2a0 (libc.so.6:strlen) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x5397240 (libc.so.6:memrchr) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x538e600 (libc.so.6:strcasecmp_l) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x538e190 (libc.so.6:memchr) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x53aae30 (libc.so.6:wcslen) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x538d720 (libc.so.6:strspn) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x538e500 (libc.so.6:stpncpy) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x538e4a0 (libc.so.6:stpcpy) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x538fd50 (libc.so.6:strchrnul) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x538e650 (libc.so.6:strncasecmp_l) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x541d0d0 (libc.so.6:__memcpy_chk) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x538e0d0 (libc.so.6:strstr) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18625-- REDIR: 0x539fec0 (libc.so.6:__strrchr_sse2) redirected to 0x483b7a0 (__strrchr_sse2)
--18625-- REDIR: 0x53aa400 (libc.so.6:__memset_sse2_unaligned) redirected to 0x483f760 (memset)
--18625-- REDIR: 0x5398a00 (libc.so.6:__strcmp_sse2_unaligned) redirected to 0x483ccd0 (strcmp)
--18625-- REDIR: 0x5388a40 (libc.so.6:malloc) redirected to 0x48386e0 (malloc)
--18625-- REDIR: 0x53a01b0 (libc.so.6:__strlen_sse2) redirected to 0x483bc90 (__strlen_sse2)
--18625-- REDIR: 0x53a9ff0 (libc.so.6:memcpy@GLIBC_2.2.5) redirected to 0x483cf70 (memcpy@GLIBC_2.2.5)
--18625-- REDIR: 0x5389470 (libc.so.6:realloc) redirected to 0x483acd0 (realloc)
--18625-- REDIR: 0x5389a00 (libc.so.6:calloc) redirected to 0x483aa80 (calloc)
--18625-- REDIR: 0x539fa90 (libc.so.6:__strchr_sse2) redirected to 0x483b880 (__strchr_sse2)
--18625-- REDIR: 0x546c680 (libc.so.6:__strncmp_sse42) redirected to 0x483c530 (__strncmp_sse42)
--18625-- REDIR: 0x53891d0 (libc.so.6:free) redirected to 0x4839910 (free)
--18625-- REDIR: 0x538dc70 (libc.so.6:__GI_strstr) redirected to 0x4840a90 (__strstr_sse2)
--18625-- REDIR: 0x539fcb0 (libc.so.6:__strchrnul_sse2) redirected to 0x4840360 (strchrnul)
--18625-- REDIR: 0x546d660 (libc.so.6:__strcasecmp_sse42) redirected to 0x483c5a0 (strcasecmp)
--18625-- REDIR: 0x53a9fd0 (libc.so.6:__mempcpy_sse2_unaligned) redirected to 0x4840470 (mempcpy)
[18625] 3/5/2019 -- 11:10:16 - (suricata.c:1073) <Notice> (LogVersion) -- This is Suricata version 5.0.0-dev running in USER mode
--18625-- REDIR: 0x539a500 (libc.so.6:__memchr_sse2) redirected to 0x483ceb0 (memchr)
[18625] 3/5/2019 -- 11:10:16 - (util-cpu.c:171) <Info> (UtilCpuPrintSummary) -- CPUs/cores online: 24
--18625-- REDIR: 0x547aed0 (libc.so.6:__memcmp_sse4_1) redirected to 0x483efa0 (__memcmp_sse4_1)
--18625-- REDIR: 0x54714a0 (libc.so.6:__strspn_sse42) redirected to 0x4840c90 (strspn)
--18625-- REDIR: 0x54711e0 (libc.so.6:__strcspn_sse42) redirected to 0x4840bd0 (strcspn)
--18625-- REDIR: 0x53a50d0 (libc.so.6:__strcpy_sse2_unaligned) redirected to 0x483bd80 (strcpy)
--18625-- REDIR: 0x53a9fe0 (libc.so.6:__memcpy_chk_sse2_unaligned) redirected to 0x4840920 (__memcpy_chk)
--18625-- Reading syms from /usr/lib/x86_64-linux-gnu/nss/libsoftokn3.so
--18625--    object doesn't have a symbol table
--18625-- Reading syms from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
--18625--    object doesn't have a symbol table
--18625-- REDIR: 0x53a5700 (libc.so.6:__strncpy_sse2_unaligned) redirected to 0x483c2b0 (__strncpy_sse2_unaligned)
--18625-- Reading syms from /usr/lib/x86_64-linux-gnu/nss/libfreeblpriv3.so
--18625--    object doesn't have a symbol table
--18625-- REDIR: 0x538a9e0 (libc.so.6:posix_memalign) redirected to 0x483af90 (posix_memalign)
--18625-- REDIR: 0x53a0350 (libc.so.6:__strnlen_sse2) redirected to 0x483bbd0 (strnlen)
--18625-- REDIR: 0x53a9940 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4840a20 (strstr)
[18625] 3/5/2019 -- 11:10:19 - (util-logopenfile.c:476) <Info> (SCConfLogOpenGeneric) -- fast output device (regular) initialized: fast.log
[18625] 3/5/2019 -- 11:10:19 - (util-logopenfile.c:476) <Info> (SCConfLogOpenGeneric) -- eve-log output device (regular) initialized: eve.json
[18625] 3/5/2019 -- 11:10:20 - (util-logopenfile.c:476) <Info> (SCConfLogOpenGeneric) -- stats output device (regular) initialized: stats.log
--18625-- REDIR: 0x5471360 (libc.so.6:__strpbrk_sse42) redirected to 0x4840b70 (strpbrk)
--18625-- REDIR: 0x546f210 (libc.so.6:__strncasecmp_sse42) redirected to 0x483c660 (strncasecmp)
[18625] 3/5/2019 -- 11:12:00 - (detect-engine-loader.c:351) <Info> (SigLoadSignatures) -- 1 rule files processed. 17659 rules successfully loaded, 0 rules failed
--18625-- REDIR: 0x53a66e0 (libc.so.6:__stpcpy_sse2_unaligned) redirected to 0x483f3c0 (__stpcpy_sse2_unaligned)
[18625] 3/5/2019 -- 11:12:03 - (util-threshold-config.c:248) <Warning> (SCThresholdConfInitContext) -- [ERRCODE: SC_ERR_FOPEN(44)] - Error opening file: "/usr/local/etc/suricata//threshold.config": No such file or directory
[18625] 3/5/2019 -- 11:12:15 - (detect-engine-build.c:1426) <Info> (SigAddressPrepareStage1) -- 17664 signatures processed. 2 are IP-only rules, 6530 are inspecting packet payload, 11092 inspect application layer, 0 are decoder event only
[18625] 3/5/2019 -- 11:12:15 - (detect-flowbits.c:480) <Warning> (DetectFlowbitsAnalyze) -- [ERRCODE: SC_WARN_FLOWBIT(306)] - flowbit 'ETPRO.TinyNuke' is checked but not set. Checked in 2024513 and 0 other sigs
[18625] 3/5/2019 -- 11:16:18 - (tm-threads.c:2157) <Notice> (TmThreadWaitOnThreadInit) -- all 25 packet processing threads, 4 management threads initialized, engine started.
[18626] 3/5/2019 -- 11:16:19 - (source-pcap-file.c:176) <Info> (ReceivePcapFileLoop) -- Starting file run for /qa/sandnet.pcap
==18625== Thread 23 W#21:
==18625== Conditional jump or move depends on uninitialised value(s)
==18625==    at 0x8C8D874: ???
==18625==    by 0x2B1C8167: ???
==18625== 
==18625== Conditional jump or move depends on uninitialised value(s)
==18625==    at 0xD99DD1B: ???
==18625==    by 0x2B1C8167: ???
==18625== 
==18625== Conditional jump or move depends on uninitialised value(s)
==18625==    at 0x9DD5C5C: ???
==18625==    by 0x2B1C8167: ???
==18625== 
==18625== Conditional jump or move depends on uninitialised value(s)
==18625==    at 0x9DEB0E4: ???
==18625==    by 0x2B1C8167: ???
==18625== 
==18625== Conditional jump or move depends on uninitialised value(s)
==18625==    at 0xE22D13C: ???
==18625==    by 0x2B1C8167: ???
==18625== 
==18625== Conditional jump or move depends on uninitialised value(s)
==18625==    at 0xA6420B4: ???
==18625==    by 0x2B1C8167: ???
==18625== 
[18626] 3/5/2019 -- 11:16:29 - (util-checksum.c:89) <Info> (ChecksumAutoModeCheck) -- No packets with invalid checksum, assuming checksum offloading is NOT used
==18625== Thread 9 W#07:
==18625== Conditional jump or move depends on uninitialised value(s)
==18625==    at 0x9DEB0E4: ???
==18625==    by 0xC6CC547: ???
==18625== 
[...]
==18625== Conditional jump or move depends on uninitialised value(s)
==18625==    at 0x99A803C: ???
==18625==    by 0xA715277: ???
==18625== 
==18625== 
==18625== More than 100 errors detected.  Subsequent errors
==18625== will still be recorded, but in less detail than before.
==18625== Conditional jump or move depends on uninitialised value(s)
==18625==    at 0x9DEB0E4: ???
==18625==    by 0xB15AC87: ???
==18625== 
==18625== Conditional jump or move depends on uninitialised value(s)
==18625==    at 0xE22D13C: ???
==18625==    by 0xB15AC87: ???
==18625== 
[...]
==18625== 
==18625== Conditional jump or move depends on uninitialised value(s)
==18625==    at 0xD99DD1B: ???
==18625==    by 0x914C657: ???
==18625== 
==18625== Conditional jump or move depends on uninitialised value(s)
==18625==    at 0xD99DD1B: ???
==18625==    by 0x92C6AF7: ???
==18625==  Uninitialised value was created by a heap allocation
==18625==    at 0x483874F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18625==    by 0x3FE24C: bstr_alloc (bstr.c:44)
==18625==    by 0x182FD5: SCHTPGenerateNormalizedUri (app-layer-htp-libhtp.c:114)
==18625==    by 0x17E42E: HTPCallbackRequestLine (app-layer-htp.c:2113)
==18625==    by 0x400C29: htp_hook_run_all (htp_hooks.c:127)
==18625==    by 0x40816C: htp_tx_state_request_line (htp_transaction.c:1010)
==18625==    by 0x403AD5: htp_connp_REQ_LINE_complete (htp_request.c:766)
==18625==    by 0x403C2C: htp_connp_req_data (htp_request.c:937)
==18625==    by 0x17B975: HTPHandleRequestData (app-layer-htp.c:752)
==18625==    by 0x18AEFC: AppLayerParserParse (app-layer-parser.c:1187)
==18625==    by 0x12D58E: TCPProtoDetect (app-layer.c:442)
==18625==    by 0x12D979: AppLayerHandleTCPData (app-layer.c:601)
==18625== 
==18625== Thread 24 W#22:
==18625== Conditional jump or move depends on uninitialised value(s)
==18625==    at 0xD99DD1B: ???
==18625==    by 0x94A3257: ???
==18625== 
[...]
==18625== Thread 19 W#17:
==18625== Conditional jump or move depends on uninitialised value(s)
==18625==    at 0xD99DD1B: ???
==18625==    by 0xB121C97: ???
==18625== 
==18625== Thread 13 W#11:
==18625== Conditional jump or move depends on uninitialised value(s)
==18625==    at 0xD545664: ???
==18625==    by 0xFE27507: ???
==18625==  Uninitialised value was created by a heap allocation
==18625==    at 0x483874F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18625==    by 0x3FE24C: bstr_alloc (bstr.c:44)
==18625==    by 0x182FD5: SCHTPGenerateNormalizedUri (app-layer-htp-libhtp.c:114)
==18625==    by 0x17E42E: HTPCallbackRequestLine (app-layer-htp.c:2113)
==18625==    by 0x400C29: htp_hook_run_all (htp_hooks.c:127)
==18625==    by 0x40816C: htp_tx_state_request_line (htp_transaction.c:1010)
==18625==    by 0x403AD5: htp_connp_REQ_LINE_complete (htp_request.c:766)
==18625==    by 0x403C2C: htp_connp_req_data (htp_request.c:937)
==18625==    by 0x17B975: HTPHandleRequestData (app-layer-htp.c:752)
==18625==    by 0x18AEFC: AppLayerParserParse (app-layer-parser.c:1187)
==18625==    by 0x12D58E: TCPProtoDetect (app-layer.c:442)
==18625==    by 0x12D979: AppLayerHandleTCPData (app-layer.c:601)
==18625== 
==18625== Thread 11 W#09:
==18625== Conditional jump or move depends on uninitialised value(s)
==18625==    at 0xD99DD1B: ???
==18625==    by 0xE53A3E7: ???
==18625== 
==18625== Thread 4 W#02:
==18625== Conditional jump or move depends on uninitialised value(s)
==18625==    at 0xD99DD1B: ???
==18625==    by 0xE274D67: ???
==18625== 
==18625== Thread 18 W#16:
==18625== Conditional jump or move depends on uninitialised value(s)
==18625==    at 0xD99DD1B: ???
==18625==    by 0xE589417: ???
==18625== 
==18625== Thread 13 W#11:
==18625== Conditional jump or move depends on uninitialised value(s)
==18625==    at 0xD545664: ???
==18625==    by 0x7910D37: ???
==18625==  Uninitialised value was created by a heap allocation
==18625==    at 0x483874F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18625==    by 0x3FE24C: bstr_alloc (bstr.c:44)
==18625==    by 0x182FD5: SCHTPGenerateNormalizedUri (app-layer-htp-libhtp.c:114)
==18625==    by 0x17E42E: HTPCallbackRequestLine (app-layer-htp.c:2113)
==18625==    by 0x400C29: htp_hook_run_all (htp_hooks.c:127)
==18625==    by 0x40816C: htp_tx_state_request_line (htp_transaction.c:1010)
==18625==    by 0x403AD5: htp_connp_REQ_LINE_complete (htp_request.c:766)
==18625==    by 0x403C2C: htp_connp_req_data (htp_request.c:937)
==18625==    by 0x17B975: HTPHandleRequestData (app-layer-htp.c:752)
==18625==    by 0x18AEFC: AppLayerParserParse (app-layer-parser.c:1187)
==18625==    by 0x12D58E: TCPProtoDetect (app-layer.c:442)
==18625==    by 0x12D979: AppLayerHandleTCPData (app-layer.c:601)
==18625== 
==18625== Thread 3 W#01:
==18625== Conditional jump or move depends on uninitialised value(s)
==18625==    at 0xD545664: ???
==18625==    by 0x2D19FA27: ???
==18625==  Uninitialised value was created by a heap allocation
==18625==    at 0x483874F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18625==    by 0x3FE24C: bstr_alloc (bstr.c:44)
==18625==    by 0x182FD5: SCHTPGenerateNormalizedUri (app-layer-htp-libhtp.c:114)
==18625==    by 0x17E42E: HTPCallbackRequestLine (app-layer-htp.c:2113)
==18625==    by 0x400C29: htp_hook_run_all (htp_hooks.c:127)
==18625==    by 0x40816C: htp_tx_state_request_line (htp_transaction.c:1010)
==18625==    by 0x403AD5: htp_connp_REQ_LINE_complete (htp_request.c:766)
==18625==    by 0x403C2C: htp_connp_req_data (htp_request.c:937)
==18625==    by 0x17B975: HTPHandleRequestData (app-layer-htp.c:752)
==18625==    by 0x18AEFC: AppLayerParserParse (app-layer-parser.c:1187)
==18625==    by 0x12D58E: TCPProtoDetect (app-layer.c:442)
==18625==    by 0x12D979: AppLayerHandleTCPData (app-layer.c:601)
==18625== 
==18625== Thread 4 W#02:
==18625== Conditional jump or move depends on uninitialised value(s)
==18625==    at 0xD99DD1B: ???
==18625==    by 0x9664797: ???
==18625== 
==18625== Thread 6 W#04:
==18625== Conditional jump or move depends on uninitialised value(s)
==18625==    at 0xD99DCEA: ???
==18625==    by 0xB821527: ???
==18625== 
==18625== Thread 12 W#10:
==18625== Conditional jump or move depends on uninitialised value(s)
==18625==    at 0xD545664: ???
==18625==    by 0x794F2B7: ???
==18625==  Uninitialised value was created by a heap allocation
==18625==    at 0x483874F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18625==    by 0x3FE24C: bstr_alloc (bstr.c:44)
==18625==    by 0x182FD5: SCHTPGenerateNormalizedUri (app-layer-htp-libhtp.c:114)
==18625==    by 0x17E42E: HTPCallbackRequestLine (app-layer-htp.c:2113)
==18625==    by 0x400C29: htp_hook_run_all (htp_hooks.c:127)
==18625==    by 0x40816C: htp_tx_state_request_line (htp_transaction.c:1010)
==18625==    by 0x403AD5: htp_connp_REQ_LINE_complete (htp_request.c:766)
==18625==    by 0x403C2C: htp_connp_req_data (htp_request.c:937)
==18625==    by 0x17B975: HTPHandleRequestData (app-layer-htp.c:752)
==18625==    by 0x18AEFC: AppLayerParserParse (app-layer-parser.c:1187)
==18625==    by 0x12D58E: TCPProtoDetect (app-layer.c:442)
==18625==    by 0x12D979: AppLayerHandleTCPData (app-layer.c:601)
==18625== 
==18625== Thread 10 W#08:
==18625== Conditional jump or move depends on uninitialised value(s)
==18625==    at 0xD545664: ???
==18625==    by 0xDBC2027: ???
==18625==  Uninitialised value was created by a heap allocation
==18625==    at 0x483874F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18625==    by 0x3FE24C: bstr_alloc (bstr.c:44)
==18625==    by 0x182FD5: SCHTPGenerateNormalizedUri (app-layer-htp-libhtp.c:114)
==18625==    by 0x17E42E: HTPCallbackRequestLine (app-layer-htp.c:2113)
==18625==    by 0x400C29: htp_hook_run_all (htp_hooks.c:127)
==18625==    by 0x40816C: htp_tx_state_request_line (htp_transaction.c:1010)
==18625==    by 0x403AD5: htp_connp_REQ_LINE_complete (htp_request.c:766)
==18625==    by 0x403C2C: htp_connp_req_data (htp_request.c:937)
==18625==    by 0x17B975: HTPHandleRequestData (app-layer-htp.c:752)
==18625==    by 0x18AEFC: AppLayerParserParse (app-layer-parser.c:1187)
==18625==    by 0x12D58E: TCPProtoDetect (app-layer.c:442)
==18625==    by 0x12D979: AppLayerHandleTCPData (app-layer.c:601)
==18625== 
==18625== Thread 17 W#15:
==18625== Conditional jump or move depends on uninitialised value(s)
==18625==    at 0xD99DD1B: ???
==18625==    by 0x1003C8F7: ???
==18625==  Uninitialised value was created by a heap allocation
==18625==    at 0x483874F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18625==    by 0x3FE24C: bstr_alloc (bstr.c:44)
==18625==    by 0x182FD5: SCHTPGenerateNormalizedUri (app-layer-htp-libhtp.c:114)
==18625==    by 0x17E42E: HTPCallbackRequestLine (app-layer-htp.c:2113)
==18625==    by 0x400C29: htp_hook_run_all (htp_hooks.c:127)
==18625==    by 0x40816C: htp_tx_state_request_line (htp_transaction.c:1010)
==18625==    by 0x403AD5: htp_connp_REQ_LINE_complete (htp_request.c:766)
==18625==    by 0x403C2C: htp_connp_req_data (htp_request.c:937)
==18625==    by 0x17B975: HTPHandleRequestData (app-layer-htp.c:752)
==18625==    by 0x18AEFC: AppLayerParserParse (app-layer-parser.c:1187)
==18625==    by 0x12D58E: TCPProtoDetect (app-layer.c:442)
==18625==    by 0x12D979: AppLayerHandleTCPData (app-layer.c:601)
==18625== 
[...]
==18625== ERROR SUMMARY: 1001 errors from 1000 contexts (suppressed: 0 from 0)


Related issues 1 (1 open0 closed)

Related to Suricata - Bug #3117: multiple valgrind reported warnings - 5.0.0-dev (9e126b210 2019-08-07)NewOISF DevActions
Actions

Also available in: Atom PDF