3 at 0x........: main (mm.c:47)
4 by 0x........: __libc_start_main (...libc...)
6 Address 0x........ is 1 bytes before the accessing pointer's
7 legitimate range, the 4096-byte block mmap'd
8 at 0x........: __mmap (in /...libc...)
9 Warning: invalid file descriptor -1 in syscall write()
10 Warning: invalid file descriptor -1 in syscall write()
12 Syscall param write(buf) is non-contiguous
13 at 0x........: __libc_write (...libc...)
14 by 0x........: main (mm.c:49)
15 by 0x........: __libc_start_main (...libc...)
17 First byte is not within a known block
18 Last byte (0x........) is 3 bytes within a 4096-byte block mmap'd
19 at 0x........: __mmap (in /...libc...)
21 Invalid read of size 1
22 at 0x........: main (mm.c:53)
23 by 0x........: __libc_start_main (...libc...)
25 Address 0x........ is 0 bytes inside the accessing pointer's
26 once-legitimate range, the 4096-byte block munmap'd
27 at 0x........: __munmap (in /...libc...)
28 by 0x........: __libc_start_main (...libc...)
31 Doubly-invalid read of size 1
32 at 0x........: main (mm.c:54)
33 by 0x........: __libc_start_main (...libc...)
35 Address 0x........ is 1 bytes before the accessing pointer's
36 once-legitimate range, the 4096-byte block munmap'd
37 at 0x........: __munmap (in /...libc...)
38 by 0x........: __libc_start_main (...libc...)
40 Warning: invalid file descriptor -1 in syscall write()
42 Syscall param write(buf) contains unaddressable byte(s)
43 at 0x........: __libc_write (...libc...)
44 by 0x........: main (mm.c:55)
45 by 0x........: __libc_start_main (...libc...)
47 Address 0x........ is 0 bytes within a 4096-byte block munmap'd
48 at 0x........: __munmap (in /...libc...)
49 by 0x........: __libc_start_main (...libc...)
51 Warning: invalid file descriptor -1 in syscall write()
53 Syscall param write(buf) is non-contiguous
54 at 0x........: __libc_write (...libc...)
55 by 0x........: main (mm.c:56)
56 by 0x........: __libc_start_main (...libc...)
58 First byte is not within a known block
59 Last byte (0x........) is 3 bytes within a 4096-byte block munmap'd
60 at 0x........: __munmap (in /...libc...)
61 by 0x........: __libc_start_main (...libc...)
65 ERROR SUMMARY: 6 errors from 6 contexts (suppressed: 0 from 0)