Project

General

Profile

Actions

Bug #103

closed

valgrind report errors with pppoe decoder unittests on 64 bits

Added by Pablo Rincon almost 15 years ago. Updated over 14 years ago.

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

Description

  1. file .libs/suricata
    .libs/suricata: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped
  1. valgrind --log-file=vgerr.txt --num-callers=40 --show-reachable=yes v --trace-children=yes --track-origins=yes ./suricata -u
    ...
    17361 Conditional jump or move depends on uninitialised value(s)
    17361 at 0x412F77: DecodePPPOEDiscovery (decode-pppoe.c:81)
    17361 by 0x413A0B: DecodePPPOEtest03 (decode-pppoe.c:290)
    17361 by 0x4DA16A: UtRunTests (util-unittest.c:182)
    17361 by 0x4052C5: main (suricata.c:746)
    17361 Uninitialised value was created by a stack allocation
    17361 at 0x413860: DecodePPPOEtest03 (decode-pppoe.c:271)
    17361
    17361 Conditional jump or move depends on uninitialised value(s)
    17361 at 0x412F86: DecodePPPOEDiscovery (decode-pppoe.c:87)
    17361 by 0x413A0B: DecodePPPOEtest03 (decode-pppoe.c:290)
    17361 by 0x4DA16A: UtRunTests (util-unittest.c:182)
    17361 by 0x4052C5: main (suricata.c:746)
    17361 Uninitialised value was created by a stack allocation
    17361 at 0x413860: DecodePPPOEtest03 (decode-pppoe.c:271)
    17361
    17361 Conditional jump or move depends on uninitialised value(s)
    17361 at 0x412F9C: DecodePPPOEDiscovery (decode-pppoe.c:74)
    17361 by 0x413A0B: DecodePPPOEtest03 (decode-pppoe.c:290)
    17361 by 0x4DA16A: UtRunTests (util-unittest.c:182)
    17361 by 0x4052C5: main (suricata.c:746)
    17361 Uninitialised value was created by a stack allocation
    17361 at 0x413860: DecodePPPOEtest03 (decode-pppoe.c:271)
    17361
    17361 Conditional jump or move depends on uninitialised value(s)
    17361 at 0x412FA7: DecodePPPOEDiscovery (decode-pppoe.c:74)
    17361 by 0x413A0B: DecodePPPOEtest03 (decode-pppoe.c:290)
    17361 by 0x4DA16A: UtRunTests (util-unittest.c:182)
    17361 by 0x4052C5: main (suricata.c:746)
    17361 Uninitialised value was created by a stack allocation
    17361 at 0x413860: DecodePPPOEtest03 (decode-pppoe.c:271)
    17361
    17361 Use of uninitialised value of size 8
    17361 at 0x412F40: DecodePPPOEDiscovery (decode-pppoe.c:76)
    17361 by 0x413A0B: DecodePPPOEtest03 (decode-pppoe.c:290)
    17361 by 0x4DA16A: UtRunTests (util-unittest.c:182)
    17361 by 0x4052C5: main (suricata.c:746)
    17361 Uninitialised value was created by a stack allocation
    17361 at 0x413860: DecodePPPOEtest03 (decode-pppoe.c:271)
    --17361-
    REDIR: 0x5d47fb0 (unsetenv) redirected to 0x4c29220 (unsetenv)
    --17361-- REDIR: 0x5d48490 (setenv) redirected to 0x4c292b0 (setenv)
    --17361-- Discarding syms at 0x11086020-0x1108dc48 in /lib/libnss_files-2.9.so due to munmap()
    17361
    17361 ERROR SUMMARY: 38 errors from 5 contexts (suppressed: 27 from 4)
    17361
    17361 7 errors in context 1 of 5:
    17361 Use of uninitialised value of size 8
    17361 at 0x412F40: DecodePPPOEDiscovery (decode-pppoe.c:76)
    17361 by 0x413A0B: DecodePPPOEtest03 (decode-pppoe.c:290)
    17361 by 0x4DA16A: UtRunTests (util-unittest.c:182)
    17361 by 0x4052C5: main (suricata.c:746)
    17361 Uninitialised value was created by a stack allocation
    17361 at 0x413860: DecodePPPOEtest03 (decode-pppoe.c:271)
    17361
    17361 7 errors in context 2 of 5:
    17361 Conditional jump or move depends on uninitialised value(s)
    17361 at 0x412FA7: DecodePPPOEDiscovery (decode-pppoe.c:74)
    17361 by 0x413A0B: DecodePPPOEtest03 (decode-pppoe.c:290)
    17361 by 0x4DA16A: UtRunTests (util-unittest.c:182)
    17361 by 0x4052C5: main (suricata.c:746)
    17361 Uninitialised value was created by a stack allocation
    17361 at 0x413860: DecodePPPOEtest03 (decode-pppoe.c:271)
    17361
    17361 8 errors in context 3 of 5:
    17361 Conditional jump or move depends on uninitialised value(s)
    17361 at 0x412F9C: DecodePPPOEDiscovery (decode-pppoe.c:74)
    17361 by 0x413A0B: DecodePPPOEtest03 (decode-pppoe.c:290)
    17361 by 0x4DA16A: UtRunTests (util-unittest.c:182)
    17361 by 0x4052C5: main (suricata.c:746)
    17361 Uninitialised value was created by a stack allocation
    17361 at 0x413860: DecodePPPOEtest03 (decode-pppoe.c:271)
    17361
    17361 8 errors in context 4 of 5:
    17361 Conditional jump or move depends on uninitialised value(s)
    17361 at 0x412F86: DecodePPPOEDiscovery (decode-pppoe.c:87)
    17361 by 0x413A0B: DecodePPPOEtest03 (decode-pppoe.c:290)
    17361 by 0x4DA16A: UtRunTests (util-unittest.c:182)
    17361 by 0x4052C5: main (suricata.c:746)
    17361 Uninitialised value was created by a stack allocation
    17361 at 0x413860: DecodePPPOEtest03 (decode-pppoe.c:271)
    17361
    17361 8 errors in context 5 of 5:
    17361 Conditional jump or move depends on uninitialised value(s)
    17361 at 0x412F77: DecodePPPOEDiscovery (decode-pppoe.c:81)
    17361 by 0x413A0B: DecodePPPOEtest03 (decode-pppoe.c:290)
    17361 by 0x4DA16A: UtRunTests (util-unittest.c:182)
    17361 by 0x4052C5: main (suricata.c:746)
    17361 Uninitialised value was created by a stack allocation
    17361 at 0x413860: DecodePPPOEtest03 (decode-pppoe.c:271)
    --17361--
    --17361-- supp: 1 dl-hack4-64bit-addr-1
    --17361-- supp: 16 dl-hack3-cond-1
    --17361-- supp: 1 dl-hack4-64bit-addr-2
    --17361-- supp: 9 Debian libc6 (2.9.x) stripped dynamic linker
    17361
    17361 IN SUMMARY: 38 errors from 5 contexts (suppressed: 27 from 4)

Files

Actions

Also available in: Atom PDF