summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorThies C. Arntzen <thies@php.net>2001-12-07 16:48:36 +0000
committerThies C. Arntzen <thies@php.net>2001-12-07 16:48:36 +0000
commit9fff2f7bbecf71167492107f90e05181f17ea742 (patch)
tree99845fe1ca3224213982165c1681c247c1d90ac1 /ext
parent480d2b56247ece9076b16720b1423ff3f38e54ab (diff)
downloadphp-git-9fff2f7bbecf71167492107f90e05181f17ea742.tar.gz
fix #13801 (imap_rfc822_parse_adrlist changes arg1)
Diffstat (limited to 'ext')
-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 24f6999a9e..e87a4fa2a7 100644
--- a/ext/imap/php_imap.c
+++ b/ext/imap/php_imap.c
@@ -2097,6 +2097,7 @@ PHP_FUNCTION(imap_rfc822_parse_adrlist)
ZEND_WRONG_PARAM_COUNT();
}
+ SEPARATE_ZVAL(str);
convert_to_string_ex(str);
convert_to_string_ex(defaulthost);