diff options
| author | Frank M. Kromann <fmk@php.net> | 2005-11-18 20:48:22 +0000 |
|---|---|---|
| committer | Frank M. Kromann <fmk@php.net> | 2005-11-18 20:48:22 +0000 |
| commit | 87e899e4a4e7b3c880270c17fb4c4dada3773135 (patch) | |
| tree | 9d30d10fedbd7bb3431912a22e11445cb616ebc9 /ext/mssql/php_mssql.c | |
| parent | cc9225f8dc9d30bc6676ac7f74f153b6220ac267 (diff) | |
| download | php-git-87e899e4a4e7b3c880270c17fb4c4dada3773135.tar.gz | |
Fix #33963. mssql_bind fails on input parameters
Diffstat (limited to 'ext/mssql/php_mssql.c')
| -rw-r--r-- | ext/mssql/php_mssql.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/mssql/php_mssql.c b/ext/mssql/php_mssql.c index 25d49582f5..5635e65130 100644 --- a/ext/mssql/php_mssql.c +++ b/ext/mssql/php_mssql.c @@ -2041,7 +2041,9 @@ PHP_FUNCTION(mssql_bind) type=Z_LVAL_PP(yytype); is_output=Z_LVAL_PP(yyis_output); is_null=Z_LVAL_PP(yyis_null); - maxlen=Z_LVAL_PP(yymaxlen); + if (is_output) { + maxlen=Z_LVAL_PP(yymaxlen); + } } break; |
