summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/mysql_statement.c
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-11-28 13:47:37 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2020-11-30 12:29:24 +0100
commit5e15c9c41f8318a8392c2e2c78544f218736549c (patch)
tree9c1aae646e4ff105311773f8209afe7d6b783dba /ext/pdo_mysql/mysql_statement.c
parentb855907f545cddc8f70e8a482da254a7740fb00d (diff)
downloadphp-git-5e15c9c41f8318a8392c2e2c78544f218736549c.tar.gz
Fix #76813: Access violation near NULL on source operand
We avoid `YYCURSOR` becoming `NULL` by initializing `YYMARKER`, and add a default rule for `<NORMAL>` where we catch unexpected input. We also fix the only superficially related issue regarding empty input followed by `T_SEPARATOR` and command, which caused another segfault. Closes GH-6464.
Diffstat (limited to 'ext/pdo_mysql/mysql_statement.c')
0 files changed, 0 insertions, 0 deletions