You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Phil Sorber (JIRA)" <ji...@apache.org> on 2016/11/02 18:38:00 UTC
[jira] [Updated] (TS-4650) cachekey: not thread safe
[ https://issues.apache.org/jira/browse/TS-4650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phil Sorber updated TS-4650:
----------------------------
Backport to Version: (was: 6.2.1)
> cachekey: not thread safe
> -------------------------
>
> Key: TS-4650
> URL: https://issues.apache.org/jira/browse/TS-4650
> Project: Traffic Server
> Issue Type: Bug
> Components: Plugins
> Affects Versions: 6.2.0
> Reporter: Felicity Tarnell
> Assignee: Felicity Tarnell
> Fix For: 6.2.1, 7.0.0
>
> Time Spent: 3h
> Remaining Estimate: 0h
>
> 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)