#20994 [NEW]: int/long confusion in 64bits machine
| From: | soula at lifl dot fr | Date: | Fri, 13 Dec 2002 18:15:35 +0000 |
| Subject: | #20994 [NEW]: int/long confusion in 64bits machine | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-27639@lists.php.net to get a copy of this message | ||
From: soula@lifl.fr
Operating system: Tru64
PHP version: 4.3.0RC3
PHP Bug Type: Reproducible crash
Bug description: int/long confusion in 64bits machine
There are locations in source where variables are declared int or long and
are menipulated with long or int pointer respectively.
- The function "OnUpdateInt" use long pointer (the case is already
referenced in bug#20433 but I found more variables concerned).
- In function "zend_parse_parameters()", the variable for token "l"
should be a long and the 2nd variable for token "s" should be a int.
The patch above try to fix the 2 cases :
ftp://codon.genopole-lille.fr/pub/php-4.3.0RC2-onupdateint+zendparam.patch
--
Julien
--
Edit bug report at http://bugs.php.net/?id=20994&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20994&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20994&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20994&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20994&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20994&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20994&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20994&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20994&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20994&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20994&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20994&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20994&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20994&r=isapi