[PHP-DEV] Re: PHP 4.0 Bug #7633 Updated: NULL-bytes cause fundamental problems in string processing From: Victor Burwitz (burwitz <email protected>)
Date: 11/30/00

Hello,

please remove the bug report. The problem is that Netscape gets
confused when confronted with a NULL-byte and leaves a "random"
number of bytes out after a NULL-byte.

Thanks for your work

V. Burwitz

Bug Database wrote:
>
> ID: 7633
> Updated by: sniper
> Reported By: burwitz <email protected>
> Status: Bogus
> Bug Type: *General Issues
> Assigned To:
> Comments:
>
> Previous Comments:
> ---------------------------------------------------------------------------
>
> [2000-11-03 19:07:54] burwitz <email protected>
>
> Thank you for your help on Bug id #7621 but it really doesn't work,
> here an example.
>
> The following Source:
>
> <html>
> <?
> $a ="abc".chr(0)."def";
> $b ="123".chr(0)."456";
>
> $a .=b;
>
> echo strlen($a);
> echo "X".$a."X";
> ?>
> </html>
>
> PHP4.0.3pl1 with MySQL and Sablotron under Linux results
> in:
>
> <html>
> 8Xabc</html>
>
> Where the result should look like:
>
> <html>
> 14Xabc0def1230456</html>
>
> I hope someone can help.
>
> Thanks
>
> V. Burwitz
>
> ---------------------------------------------------------------------------
>
> Full Bug description available at: http://bugs.php.net/?id=7633

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>