64 bit safety...

From: Date: Wed, 16 Jun 2004 17:02:45 +0000
Subject: 64 bit safety...
Groups: php.internals 
Request: Send a blank email to internals+get-10532@lists.php.net to get a copy of this message
Hi, seems some parts... especially sqlite are not 64bit safe. If you want to do something productive go out and search for zend_parse_parameter calls where l is not writing to a long (NOT int) and where the strlen of a s is not written into an int. F.e. in sqlite there seems to be several places where the strlen of a s is written into a long instead of an int. This will all break bigtime on 64bit systems where int is 32 bit but long is 64 bit. Stefan

« previous php.internals (#10532) next »