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" of size 28 in frame 2 back from here
8 Actual: stack array "beforea" of size 12 in frame 2 back from here
9 Actual: is 0 after Expected
11 Invalid write of size 4
12 at 0x........: main (stackerr.c:44)
13 Address 0x........ expected vs actual:
14 Expected: stack array "a" of size 28 in this frame
15 Actual: stack array "beforea" of size 12 in this frame
16 Actual: is 0 after Expected
18 Invalid write of size 1
19 at 0x........: _IO_default_xsputn (in /...libc...)
22 Address 0x........ expected vs actual:
23 Expected: stack array "buf" of size 8 in frame 4 back from here
24 Actual: stack array "beforebuf" of size 8 in frame 4 back from here
25 Actual: is 0 after Expected
28 ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)