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 $ > ================================================================= ==19987==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7ffd3c3cc4f8 at pc 0x00000051afee bp 0x7ffd3c3cbf30 sp 0x7ffd3c3cbf28 WRITE of size 8 at 0x7ffd3c3cc4f8 thread T0 ================================================================= ==19988==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7ffd3c3cc4f8 at pc 0x00000051afee bp 0x7ffd3c3cbf30 sp 0x7ffd3c3cbf28 WRITE of size 8 at 0x7ffd3c3cc4f8 thread T0 #0 0x51afed (/out/package/mumsh_memory_check+0x51afed) #1 0x516c31 (/out/package/mumsh_memory_check+0x516c31) #2 0x517c97 (/out/package/mumsh_memory_check+0x517c97) #3 0x518439 (/out/package/mumsh_memory_check+0x518439) #4 0x518f31 (/out/package/mumsh_memory_check+0x518f31) #5 0x518a0f (/out/package/mumsh_memory_check+0x518a0f) #6 0x518f31 (/out/package/mumsh_memory_check+0x518f31) #7 0x518fe1 (/out/package/mumsh_memory_check+0x518fe1) #8 0x5194d1 (/out/package/mumsh
JOJ Answer
mumsh $ > > mumsh $ 123 | mumsh $ 1.txt driver mumsh mumsh_memory_check mumsh $ exit