Description
cachekey's Pattern class is not thread safe; it uses member data to store the result of pcre_exec(), but only one instance is shared between all threads. This causes crashes when two threads access the pcre result at the same time.
Fix: use automatic storage for the pcre result data.
PR incoming.