diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2020-02-08 10:58:15 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2020-02-08 11:03:52 +0100 |
commit | b4f61d99cf90fab429a639a51790591ce296606f (patch) | |
tree | f442cb901ed21d915def6b51745b7d005e9c2d9e /ext/pcre/php_pcre.c | |
parent | 34bab6c9fcf0305a6c15ce3f8b8f26c55a015a62 (diff) | |
download | php-git-b4f61d99cf90fab429a639a51790591ce296606f.tar.gz |
Fix #79247: Garbage collecting variant objects segfaults
variant objects have no (declared) properties, so the `get_properties`
handlers returns a pointer to constant storage for efficiency reasons.
This pointer must not be returned from the `get_gc` handler, though;
instead we set up an own `get_gc` handler and return NULL from it, to
signal that there are no properties to collect.
Diffstat (limited to 'ext/pcre/php_pcre.c')
0 files changed, 0 insertions, 0 deletions