Date: 11/03/00
- Next message: Dan Kalowsky: "[PHP-DEV] Bizarre includes on PHP CVS build"
- Previous message: Troels Arvin: "Re: [PHP-DEV] pg_close()/msql_close()/sybase_close()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: vburwitz <email protected>
Operating system: GNU/Linux 2.2.13 (SuSE 6.3)
PHP version: 4.0.3pl1
PHP Bug Type: Scripting Engine problem
Bug description: NULL-bytes cause fundamental problems in string processing
Fundamental String Append Problem!!!
If NULL-bytes are in a string then appending the string won't work.
e.g. (NULL-byte written as "0" here)
$a ="abc0def";
$b ="1230456";
$a .=$b;
echo $a;
=> "abc"
echo strlen($a);
=> "3"
Well I don't have to mention that the problem is most probably
related to NULL-termination of strings in C/C++.
The above creates a lot of HUGE PROBLEMS and was working
with PHP3, since I am depending on NULL-safe string processing.
Could someone give me a fast reply if something more is known?
Thanks
V. Burwitz
-- Edit Bug report at: http://bugs.php.net/?id=7621&edit=1-- 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>
- Next message: Dan Kalowsky: "[PHP-DEV] Bizarre includes on PHP CVS build"
- Previous message: Troels Arvin: "Re: [PHP-DEV] pg_close()/msql_close()/sybase_close()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

