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

            Bug ID: 364058
           Summary: array overruns are not detected
           Product: valgrind
           Version: 3.11.0
          Platform: Compiled Sources
                OS: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: sgcheck
          Assignee: jsew...@acm.org
          Reporter: sergey_meirov...@amat.com

exp-sgcheck is not detecting stack overruns either for me

Reproducible: Always

Steps to Reproduce:
-bash-4.1$ cat t.c 
int stat[5];

int main(void)
{
  int stack[5];

  stat[12] = 0;
  stack [12] = 0;

  return 0;
}
-bash-4.1$ gcc -g -o t t.c 
-bash-4.1$ /sw/valgrind/valgrind-3.11.0/bin/valgrind --tool=exp-sgcheck ./t


Actual Results:  
==3004== exp-sgcheck, a stack and global array overrun detector
==3004== NOTE: This is an Experimental-Class Valgrind Tool
==3004== Copyright (C) 2003-2015, and GNU GPL'd, by OpenWorks Ltd et al.
==3004== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==3004== Command: ./t
==3004== 
==3004== 
==3004== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-bash-4.1$

Expected Results:  
Any error message with details.

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

Reply via email to