diff options
| author | Sara Golemon <pollita@php.net> | 2017-02-22 13:56:38 -0800 |
|---|---|---|
| committer | Sara Golemon <pollita@php.net> | 2017-02-28 17:08:23 -0800 |
| commit | 868930e0794e0ad49a95d6add5e3c7eac8743455 (patch) | |
| tree | 6e6bfa310c65c6efdef47531562bcf97e0d27c9a /ext/sqlite3/php_sqlite3.h | |
| parent | 21a05b0418de811340c4c0253a7d2639fc5c1002 (diff) | |
| download | php-git-868930e0794e0ad49a95d6add5e3c7eac8743455.tar.gz | |
Fix potential crash when setting invalid declare value
Using a non-literal expression in a declare value can cause the
compiler to crash trying to turn that AST node into a usable zval.
There was an existing test for such values using 'encoding',
but that didn't crash because it's handled by the lexer
rather than being compiled.
Trying to use a non-literal with ticks reproduces the crash.
Diffstat (limited to 'ext/sqlite3/php_sqlite3.h')
0 files changed, 0 insertions, 0 deletions
