Record Case Detail

Notes

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

Stderr

 pwd: /out/package
ppid: 105420
   1: CTRL+D

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

=================================================================
==105421==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x619000000480 at pc 0x00000049987c bp 0x7ffdf184c400 sp 0x7ffdf184bbb0
READ of size 1025 at 0x619000000480 thread T0
    #0 0x49987b  (/out/package/mumsh_memory_check+0x49987b)
    #1 0x515752  (/out/package/mumsh_memory_check+0x515752)
    #2 0x515575  (/out/package/mumsh_memory_check+0x515575)
    #3 0x7efc6c770b96  (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
    #4 0x41cdd9  (/out/package/mumsh_memory_check+0x41cdd9)

0x619000000480 is located 0 bytes to the right of 1024-byte region [0x619000000080,0x619000000480)
allocated by thread T0 here:
    #0 0x4dcc90  (/out/package/mumsh_memory_check+0x4dcc90)
    #1 0x5151c0  (/out/package/mumsh_memory_check+0x5151c0)
    #2 0x7efc6c770b96  (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

SUMMARY: AddressSanitizer: heap-buffer-overflow (/out/package/mumsh_memory_check+0x49987b) 
Shadow bytes around the buggy address:
  0x0c327fff8040: 00 0

JOJ Answer

mumsh $ exit