2 Invalid write of size 4
3 at 0x........: foo (stackerr.c:27)
4 by 0x........: bar (stackerr.c:32)
5 by 0x........: main (stackerr.c:41)
6 Address 0x........ expected vs actual:
7 Expected: stack array "a" in frame 2 back from here
8 Actual: stack array "beforea" in frame 2 back from here
10 Invalid write of size 4
11 at 0x........: main (stackerr.c:44)
12 Address 0x........ expected vs actual:
13 Expected: stack array "a" in this frame
14 Actual: stack array "beforea" in this frame
16 Invalid write of size 1
17 at 0x........: _IO_default_xsputn (in /...libc...)
21 by 0x........: main (stackerr.c:49)
22 Address 0x........ expected vs actual:
23 Expected: stack array "buf" in frame 4 back from here
24 Actual: stack array "beforebuf" in frame 4 back from here
27 ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)