diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2016-08-13 11:39:16 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2016-08-13 11:40:33 +0200 |
commit | ae3b2078eac226c61bc325527e607ad275936d22 (patch) | |
tree | 89eb5814718b9c47805c986b895977f7504dde43 /NEWS | |
parent | 7938ebf6c1b302d3d1b1bfb798f1cf6f07e1e178 (diff) | |
download | php-git-ae3b2078eac226c61bc325527e607ad275936d22.tar.gz |
Fix #72823: strtr out-of-bound access
If php_strtr_array_prepare_repls() reports pattern_len == 0, we return
early to avoid OOB accesses, and because there is nothing to replace anyway.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -9,6 +9,9 @@ PHP NEWS . Fixed bug #60665 (call to empty() on NULL result using PDO::FETCH_LAZY returns false). (cmb) +- Standard: + . Fixed bug #72823 (strtr out-of-bound access). (cmb) + 18 Aug 2016, PHP 5.6.25 - Core: |