summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThies C. Arntzen <thies@php.net>2001-12-07 16:47:59 +0000
committerThies C. Arntzen <thies@php.net>2001-12-07 16:47:59 +0000
commit8e466001662b1429f0559d4ac473693a6f4474d9 (patch)
tree3f9c3dcdc346f7993c7523b7a73572157d473f01
parentd07a60c3d0c8c72b62196418bacdcb50068e0191 (diff)
downloadphp-git-8e466001662b1429f0559d4ac473693a6f4474d9.tar.gz
fix #13801 (imap_rfc822_parse_adrlist changes arg1)
-rw-r--r--ext/imap/php_imap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c
index 47f7de6eca..00bd4061e3 100644
--- a/ext/imap/php_imap.c
+++ b/ext/imap/php_imap.c
@@ -2100,6 +2100,7 @@ PHP_FUNCTION(imap_rfc822_parse_adrlist)
ZEND_WRONG_PARAM_COUNT();
}
+ SEPARATE_ZVAL(str);
convert_to_string_ex(str);
convert_to_string_ex(defaulthost);