]> granicus.if.org Git - php/commit
Fix #78173: XML-RPC mutates immutable objects during encoding
authorAsher Baker <asher.baker@tripleplay.tv>
Tue, 18 Jun 2019 14:05:38 +0000 (15:05 +0100)
committerChristoph M. Becker <cmbecker69@gmx.de>
Tue, 18 Jun 2019 15:08:11 +0000 (17:08 +0200)
commitd54220bc795a7025a162c61128c98a7af14087a4
tree7a42b9f409171620f77cc9bcebc6776703f11c50
parente59b986fa7cb4da0a59df09aa4179095b9811529
Fix #78173: XML-RPC mutates immutable objects during encoding

With opcache.protect_memory=1 enabled, the XML-RPC extension causes a
segfault on PHP 7.2 as it is modifying the recursion counter of objects
it touches, without first checking if they are immutable or not.

This doesn't affect 7.3+
NEWS
ext/xmlrpc/xmlrpc-epi-php.c