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

--- Comment #2 from Sergey Meirovich <sergey_meirov...@amat.com> ---
-bash-4.1$ cat t.c 
int stat[5];

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

  stat[48] = 111;
  stack [48] = 1;

  return stat[48];
}
-bash-4.1$ gcc -O0 -g -o t t.c 
-bash-4.1$  /sw/valgrind/valgrind-3.11.0/bin/valgrind --tool=exp-sgcheck ./t
==49197== exp-sgcheck, a stack and global array overrun detector
==49197== NOTE: This is an Experimental-Class Valgrind Tool
==49197== Copyright (C) 2003-2015, and GNU GPL'd, by OpenWorks Ltd et al.
==49197== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==49197== Command: ./t
==49197== 
==49197== 
==49197== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-bash-4.1$ echo $?
111
-bash-4.1$

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

Reply via email to