Notes
This function is in beta test. Please help improve it in the issues
here.
================================================================= ==21787==ERROR: AddressSanitizer: heap-use-after-free on address 0x606000001728 at pc 0x00000051c2e5 bp 0x7ffc84331e50 sp 0x7ffc84331e48 READ of size 8 at 0x606000001728 thread T0 #0 0x51c2e4 (/out/package/test_decom+0x51c2e4) #1 0x52b95e (/out/package/test_decom+0x52b95e) #2 0x52c04d (/out/package/test_decom+0x52c04d) #3 0x7faa5a46fb96 (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #4 0x41f909 (/out/package/test_decom+0x41f909) 0x606000001728 is located 40 bytes inside of 56-byte region [0x606000001700,0x606000001738) freed by thread T0 here: #0 0x518ae8 (/out/package/test_decom+0x518ae8) #1 0x51ca02 (/out/package/test_decom+0x51ca02) #2 0x51ca4c (/out/package/test_decom+0x51ca4c) #3 0x5241e4 (/out/package/test_decom+0x5241e4) #4 0x52c081 (/out/package/test_decom+0x52c081) #5 0x7faa5a46fb96 (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) previously allocated by thread T0 here: #0 0x517d70 (/ou
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, the main problem you meet now is Runtime Error. And the exit code of your program is 1, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
JOJ Answer
im holding on your rope got me ten feet off the ground and im hearing what you say but i just cant make a sound you tell me that you need me then you go and cut me down but wait you tell me that youre sorry didnt think id turn around and say that its too late to apologize its too late i said its too late to apologize its too late id take another chance take a fall take a shot for you and i need you like a heart needs a beat but its nothing new yeah yeah i loved you with a fire red now its turning blue and you say sorry like the angel heaven let me think was you but im afraid its too late to apologize its too late i said its too late to apologize its too late whoa its too late to apologize its too late i said its too late to apologize its too late i said its too late to apologize yeah i said its too late to apologize yeah im holding on your rope got me ten feet off the ground