summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_eol.c
diff options
context:
space:
mode:
authorKeyur Govande <keyur@php.net>2014-07-28 23:15:23 +0000
committerKeyur Govande <keyur@php.net>2014-07-28 23:15:23 +0000
commit00546bc9b7cb8208c27de9c6ebd12156401a5607 (patch)
tree39956a5dfd4b05c9e77b0f719ca72c102705bb1f /sapi/phpdbg/phpdbg_eol.c
parent3e167ba990afc1f46739dfed9d4ba42e9389b2f2 (diff)
downloadphp-git-00546bc9b7cb8208c27de9c6ebd12156401a5607.tar.gz
Fix bug #60616 (odbc_fetch_into returns junk at end of multi-byte char fields)
The ODBC extension did not support WVARCHAR. WVARCHAR ends up being handled by the default handler where vallen is set by the driver to the actual bytes needed for the field. If it is larger than default-lrl then the output is corrupted (reading past the buffer) because the return functions don't expect that to happen. The patch add support to handle WVARCHAR just like a regular VARCHAR.
Diffstat (limited to 'sapi/phpdbg/phpdbg_eol.c')
0 files changed, 0 insertions, 0 deletions