Notes
This function is in beta test. Please help improve it in the issues
here.
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, you will still get Wrong Answer because the complete output may be longer and there might be errors in the future lines.
Please double check your code to solve this problem and try again.
Your Answer
mumsh $ ================================================================= ==68964==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x61900000007e at pc 0x000000515256 bp 0x7ffddb2bc0f0 sp 0x7ffddb2bc0e8 WRITE of size 1 at 0x61900000007e thread T0 #0 0x515255 (/out/package/mumsh_memory_check+0x515255) #1 0x7fecb8268b96 (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #2 0x41cb89 (/out/package/mumsh_memory_check+0x41cb89) 0x61900000007e is located 2 bytes to the left of 1024-byte region [0x619000000080,0x619000000480) allocated by thread T0 here: #0 0x4dca40 (/out/package/mumsh_memory_check+0x4dca40) #1 0x51505b (/out/package/mumsh_memory_check+0x51505b) #2 0x7fecb8268b96 (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) SUMMARY: AddressSanitizer: heap-buffer-overflow (/out/package/mumsh_memory_check+0x515255) Shadow bytes around the buggy address: 0x0c327fff7fb0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c327fff7fc0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c
JOJ Answer
mumsh $ exit