|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-12-07 11:48 UTC] thies@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 05:00:01 2025 UTC |
The function imap_rfc822_parse_adrlist changes its parameters. Some code: <?php $val = "philip steeman <philip.steeman@kh.khbo.be>"; $rij = imap_rfc822_parse_adrlist($val, "xx.khbo.be"); $philip=fopen("/tmp/philip3.log", "a"); fputs($philip, "$val\n"); fclose($philip); ?> After calling imap_rfc822_parse_adrlist the value of $val has changed. There is a NULL-char between 'steeman' and '<'. This error occurs in PHP4-CVS-18/10/2001 (23/10 doesn't compile for the moment, so I couldn't check it). With PHP 4.0.4pl1 everything is OK. Philip