1 2 Invalid read of size 1 3 at 0x........: main (mm.c:47) 4 by 0x........: __libc_start_main (...libc...) 5 by 0x........: ... 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() 11 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...) 16 by 0x........: ... 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...) 20 21 Invalid read of size 1 22 at 0x........: main (mm.c:53) 23 by 0x........: __libc_start_main (...libc...) 24 by 0x........: ... 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...) 29 by 0x........: ... 30 31 Doubly-invalid read of size 1 32 at 0x........: main (mm.c:54) 33 by 0x........: __libc_start_main (...libc...) 34 by 0x........: ... 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...) 39 by 0x........: ... 40 Warning: invalid file descriptor -1 in syscall write() 41 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...) 46 by 0x........: ... 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...) 50 by 0x........: ... 51 Warning: invalid file descriptor -1 in syscall write() 52 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...) 57 by 0x........: ... 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...) 62 by 0x........: ... 63 64 65 ERROR SUMMARY: 6 errors from 6 contexts (suppressed: 0 from 0) 66