https://bugs.kde.org/show_bug.cgi?id=366035

            Bug ID: 366035
           Summary: valgrind misses buffer overflow, segfaults in malloc
                    in localtime
           Product: valgrind
           Version: 3.11.0
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: jsew...@acm.org
          Reporter: frede...@ofb.net

I get the following error when I use Valgrind to debug my buggy program:

    --433-- VALGRIND INTERNAL ERROR: Valgrind received a signal 11 (SIGSEGV) -
exiting
    --433-- si_code=128;  Faulting address: 0x0;  sp: 0x802ba9e30

    valgrind: the 'impossible' happened:
       Killed by fatal signal

Turns out it was a simple buffer overflow but Valgrind didn't catch it.

Since the code is fairly small, I thought it might be useful to submit.

I made a tar file with the valgrind output, my code, and the command to run it.

You need to run the code on a machine with a sound card.

Thanks.


Reproducible: Always




I hope I get to upload an attachment after clicking "Submit Bug Report"!

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to