summaryrefslogtreecommitdiff
path: root/ext/json/json.c
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2016-08-13 11:39:16 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2016-08-13 11:40:33 +0200
commitae3b2078eac226c61bc325527e607ad275936d22 (patch)
tree89eb5814718b9c47805c986b895977f7504dde43 /ext/json/json.c
parent7938ebf6c1b302d3d1b1bfb798f1cf6f07e1e178 (diff)
downloadphp-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 'ext/json/json.c')
0 files changed, 0 insertions, 0 deletions