Felicity Tarnell created TS-4650:
------------------------------------

             Summary: cachekey: not thread safe
                 Key: TS-4650
                 URL: https://issues.apache.org/jira/browse/TS-4650
             Project: Traffic Server
          Issue Type: Bug
            Reporter: Felicity Tarnell


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to