summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/mysql_driver.c
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2021-01-06 18:56:02 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2021-01-07 13:46:09 +0100
commit9450893dc682fa09ea1265acd2d885710ca82699 (patch)
tree1dae6d0ab7f2c05b5acf45c53fbe85892d5dc4f2 /ext/pdo_mysql/mysql_driver.c
parentd1b1c043988277b7c0d46ec7c953418cbfbb2608 (diff)
downloadphp-git-9450893dc682fa09ea1265acd2d885710ca82699.tar.gz
Avoid modifying the return value of readline_completion_function()
The internal function `_readline_command_generator()` modifies the internal array pointer of `readline_completion_function()`'s return value. We therefore separate the array, what also avoids failing assertions regarding the array refcount. Closes GH-6582.
Diffstat (limited to 'ext/pdo_mysql/mysql_driver.c')
0 files changed, 0 insertions, 0 deletions