From 6324a1f35cf8de2b49e32a7529fdbd208e7c110a Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Wed, 7 Jan 2009 17:38:13 +0000 Subject: [PATCH] - Revert in this branch (attention++, thanks Hannes :D) --- NEWS | 2 -- ext/standard/quot_print.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/NEWS b/NEWS index 81a29e4ddf..a1b51b0278 100644 --- a/NEWS +++ b/NEWS @@ -11,8 +11,6 @@ PHP NEWS (Fixes CVE-2008-5498) (Scott) - Fixed a segfault when malformed string is passed to json_decode(). (Scott) -- Fixed bug #47029 (quoted_printable_decode() produces duplicate warning). - (Andy wharmby) - Fixed bug #47027 (var_export doesn't show numeric indices on ArrayObject). (Derick) - Fixed bug #46985 (OVERWRITE and binary mode does not work, regression introduced in diff --git a/ext/standard/quot_print.c b/ext/standard/quot_print.c index 5c7932e06b..8fce81088d 100644 --- a/ext/standard/quot_print.c +++ b/ext/standard/quot_print.c @@ -156,7 +156,7 @@ PHP_FUNCTION(quoted_printable_decode) int i = 0, j = 0, k; if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &arg1) == FAILURE) { - return; + WRONG_PARAM_COUNT; } convert_to_string_ex(arg1); -- 2.50.1