Open ghost opened 9 years ago
The original crash leads me to believe we're providing a negative value to the last argument of memcpy
.
=================================================================
==25305==ERROR: AddressSanitizer: negative-size-param: (size=-483)
#0 0x4a5d4a (/home/w/ctf/gatekeeper/regex/regex+0x4a5d4a)
#1 0x4dddaf (/home/w/ctf/gatekeeper/regex/regex+0x4dddaf)
#2 0x4e1631 (/home/w/ctf/gatekeeper/regex/regex+0x4e1631)
#3 0x4df091 (/home/w/ctf/gatekeeper/regex/regex+0x4df091)
#4 0x7fe121cd7a3f (/lib/x86_64-linux-gnu/libc.so.6+0x20a3f)
#5 0x4356b8 (/home/w/ctf/gatekeeper/regex/regex+0x4356b8)
AddressSanitizer can not describe address in more detail (wild memory access suspected).
==25305==ABORTING