diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2007-01-03 04:05:12 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2007-01-03 04:05:12 +0000 |
| commit | 9046eaa2600941e25fc4e00c4722b92be263fc01 (patch) | |
| tree | 17d1cf8e28aa1d97d7c238d16fff3eccec9e97d9 /ext | |
| parent | b1cac0f72cb99f4f4b0128b0132f8909cb6f11c5 (diff) | |
| download | php-git-9046eaa2600941e25fc4e00c4722b92be263fc01.tar.gz | |
Use proper length
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/fdf/fdf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fdf/fdf.c b/ext/fdf/fdf.c index e9ecc4d2eb..39fdea2f92 100644 --- a/ext/fdf/fdf.c +++ b/ext/fdf/fdf.c @@ -1448,7 +1448,7 @@ SAPI_POST_HANDLER_FUNC(fdf_post_handler) if(lastfieldname) efree(lastfieldname); lastfieldname = estrdup(name); - if (sapi_module.input_filter(PARSE_POST, name, &value, value_len - 1, &new_val_len TSRMLS_CC)) { + if (sapi_module.input_filter(PARSE_POST, name, &value, nBytes, &new_val_len TSRMLS_CC)) { php_register_variable_safe(name, value, new_val_len, array_ptr TSRMLS_CC); } } |
