cvs: php-src /ext/fdf fdf.c
| From: | Ilia Alshanetsky | Date: | Wed, 03 Jan 2007 04:05:36 +0000 |
| Subject: | cvs: php-src /ext/fdf fdf.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-42524@lists.php.net to get a copy of this message | ||
iliaa Wed Jan 3 04:05:36 2007 UTC
Modified files:
/php-src/ext/fdf fdf.c
Log:
Use proper length
http://cvs.php.net/viewvc.cgi/php-src/ext/fdf/fdf.c?r1=1.101&r2=1.102&diff_format=u
Index: php-src/ext/fdf/fdf.c
diff -u php-src/ext/fdf/fdf.c:1.101 php-src/ext/fdf/fdf.c:1.102
--- php-src/ext/fdf/fdf.c:1.101 Wed Jan 3 03:55:29 2007
+++ php-src/ext/fdf/fdf.c Wed Jan 3 04:05:36 2007
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: fdf.c,v 1.101 2007/01/03 03:55:29 iliaa Exp $ */
+/* $Id: fdf.c,v 1.102 2007/01/03 04:05:36 iliaa Exp $ */
/* FdfTk lib 2.0 is a Complete C/C++ FDF Toolkit available from
http://beta1.adobe.com/ada/acrosdk/forms.html.
*/
@@ -1448,7 +1448,7 @@
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);
}
}