diff options
| author | Christoph M. Becker <cmbecker69@gmx.de> | 2019-07-01 10:18:19 +0200 |
|---|---|---|
| committer | Christoph M. Becker <cmbecker69@gmx.de> | 2019-07-08 10:31:36 +0200 |
| commit | 98b6330ab45732dcb16bb714d66ca1d987531406 (patch) | |
| tree | 422c9a771bc0ec4a2d73efa6c3f79fe3e840d91c /Zend/zend_API.c | |
| parent | a39ea91753c5d131ff802ee394ee23ce2f37d7f4 (diff) | |
| download | php-git-98b6330ab45732dcb16bb714d66ca1d987531406.tar.gz | |
Fix TsHashTable related race conditions
Although TsHashTable and the according API are supposed to easily make
a HashTable thread-safe, they do not; for instance, there can be race
conditions between finding and updating entries. We therefore avoid
the usage of TsHashTable in favor of a HashTable with our own mutex
management.
The patch has been provided by krakjoe@php.net; I only did some minor
fixes and tweaks.
Diffstat (limited to 'Zend/zend_API.c')
0 files changed, 0 insertions, 0 deletions
