bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/6948] New: [Regression] Uninitialised variables in cp-dema


From: hjl dot tools at gmail dot com
Subject: [Bug binutils/6948] New: [Regression] Uninitialised variables in cp-demangle.c
Date: 7 Oct 2008 01:22:04 -0000

address@hidden binutils]$ valgrind --tool=memcheck  ./cxxfilt -i _ZTIPDi
==22075== Memcheck, a memory error detector.
==22075== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
==22075== Using LibVEX rev 1575, a library for dynamic binary translation.
==22075== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
==22075== Using valgrind-3.1.1, a dynamic binary instrumentation framework.
==22075== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
==22075== For more details, rerun with: -v
==22075== 
==22075== Conditional jump or move depends on uninitialised value(s)
==22075==    at 0x4C4ECD: d_make_comp (cp-demangle.c:814)
==22075==    by 0x4C6975: cplus_demangle_type (cp-demangle.c:2027)
==22075==    by 0x4C60AD: d_special_name (cp-demangle.c:1649)
==22075==    by 0x4C5330: d_encoding (cp-demangle.c:1053)
==22075==    by 0x4C51E9: cplus_demangle_mangled_name (cp-demangle.c:986)
==22075==    by 0x4CA37E: d_demangle_callback (cp-demangle.c:4276)
==22075==    by 0x4CA433: d_demangle (cp-demangle.c:4312)
==22075==    by 0x4CA498: cplus_demangle_v3 (cp-demangle.c:4469)
==22075==    by 0x4BE0AF: cplus_demangle (cplus-dem.c:862)
==22075==    by 0x40242B: demangle_it (cxxfilt.c:63)
==22075==    by 0x4026C2: main (cxxfilt.c:227)
==22075== 
==22075== Conditional jump or move depends on uninitialised value(s)
==22075==    at 0x4C821A: d_print_comp (cp-demangle.c:3076)
==22075==    by 0x4C8BC3: d_print_comp (cp-demangle.c:3425)
==22075==    by 0x4C895E: d_print_comp (cp-demangle.c:3327)
==22075==    by 0x4C80BC: cplus_demangle_print_callback (cp-demangle.c:3033)
==22075==    by 0x4CA3C4: d_demangle_callback (cp-demangle.c:4289)
==22075==    by 0x4CA433: d_demangle (cp-demangle.c:4312)
==22075==    by 0x4CA498: cplus_demangle_v3 (cp-demangle.c:4469)
==22075==    by 0x4BE0AF: cplus_demangle (cplus-dem.c:862)
==22075==    by 0x40242B: demangle_it (cxxfilt.c:63)
==22075==    by 0x4026C2: main (cxxfilt.c:227)
==22075== 
==22075== Use of uninitialised value of size 8
==22075==    at 0x4C824E: d_print_comp (cp-demangle.c:3084)
==22075==    by 0x4C8BC3: d_print_comp (cp-demangle.c:3425)
==22075==    by 0x4C895E: d_print_comp (cp-demangle.c:3327)
==22075==    by 0x4C80BC: cplus_demangle_print_callback (cp-demangle.c:3033)
==22075==    by 0x4CA3C4: d_demangle_callback (cp-demangle.c:4289)
==22075==    by 0x4CA433: d_demangle (cp-demangle.c:4312)
==22075==    by 0x4CA498: cplus_demangle_v3 (cp-demangle.c:4469)
==22075==    by 0x4BE0AF: cplus_demangle (cplus-dem.c:862)
==22075==    by 0x40242B: demangle_it (cxxfilt.c:63)
==22075==    by 0x4026C2: main (cxxfilt.c:227)
_ZTIPDi
==22075== 
==22075== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 4 from 1)
==22075== malloc/free: in use at exit: 0 bytes in 0 blocks.
==22075== malloc/free: 1 allocs, 1 frees, 16 bytes allocated.
==22075== For counts of detected errors, rerun with: -v
==22075== All heap blocks were freed -- no leaks are possible.
address@hidden binutils]$

-- 
           Summary: [Regression] Uninitialised variables in cp-demangle.c
           Product: binutils
           Version: 2.20 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: hjl dot tools at gmail dot com
                CC: bug-binutils at gnu dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=6948

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]