Record Case Detail

Notes

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

Stderr

 pwd: /out/package
ppid: 3034
   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 $ mumsh.c:670:26: runtime error: unsigned integer overflow: 0 - 1 cannot be represented in type 'unsigned long'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior mumsh.c:670:26 in 
mumsh.c:670:8: runtime error: addition of unsigned offset to 0x7ffe522d1d10 overflowed to 0x7ffe522d1d0f
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior mumsh.c:670:8 in 
=================================================================
==3035==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7ffe522d1d0f at pc 0x00000051e4e5 bp 0x7ffe522d17b0 sp 0x7ffe522d17a8
READ of size 1 at 0x7ffe522d1d0f thread T0
    #0 0x51e4e4  (/out/package/mumsh_memory_check+0x51e4e4)
    #1 0x51eb2f  (/out/package/mumsh_memory_check+0x51eb2f)
    #2 0x7f5d3f19cb96  (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
    #3 0x41cc59  (/out/package/mumsh_memory_check+0x41cc59)

Address 0x7ffe522d1d0f is located in stack of thread T0 at offset 47 in frame
    #0 0x51e82f  (/out/package/mumsh_memory_check+0x51e82f)

  This f

JOJ Answer

mumsh $ 123
mumsh $ mumsh $ exit