Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr

 pwd: /out/package
ppid: 113
   1: WRITELN echo 123
   2: WRITELN 

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 $ 123
mumsh $ =================================================================
==114==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x619000000f7f at pc 0x000000524ebc bp 0x7ffd68e9bf90 sp 0x7ffd68e9bf88
READ of size 1 at 0x619000000f7f thread T0
    #0 0x524ebb  (/out/package/mumsh_memory_check+0x524ebb)
    #1 0x52c393  (/out/package/mumsh_memory_check+0x52c393)
    #2 0x52c7a3  (/out/package/mumsh_memory_check+0x52c7a3)
    #3 0x7f05f5747b96  (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
    #4 0x41d159  (/out/package/mumsh_memory_check+0x41d159)

0x619000000f7f is located 1 bytes to the left of 1024-byte region [0x619000000f80,0x619000001380)
allocated by thread T0 here:
    #0 0x4dd010  (/out/package/mumsh_memory_check+0x4dd010)
    #1 0x52bcb7  (/out/package/mumsh_memory_check+0x52bcb7)
    #2 0x52c380  (/out/package/mumsh_memory_check+0x52c380)
    #3 0x52c7a3  (/out/package/mumsh_memory_check+0x52c7a3)
    #4 0x7f05f5747b96  (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

SUMMARY: AddressSani

JOJ Answer

mumsh $ 123
mumsh $ mumsh $ exit