#31636 [NEW]: Type cast is unchecked
From: ivar at stvk dot no
Operating system: Windows XP
PHP version: 5.0.3
PHP Bug Type: COM related
Bug description: Type cast is unchecked
Description:
------------
com_object_cast is at least called by zend_make_printable_zval. In this
context, it appears that the contract of the handler is to return a zval
with the the specified type. If not able to return the value, it should
return FAILURE.
The handler will return a valid zval with wrong type if VariantChangeType
fails, or if the requested cast type is not supported.
--
Edit bug report at http://bugs.php.net/?id=31636&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31636&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31636&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31636&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31636&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31636&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31636&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31636&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31636&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31636&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31636&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=31636&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=31636&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31636&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31636&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31636&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31636&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31636&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31636&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31636&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31636&r=mysqlcfg
Thread (5 messages)
- ivar at stvk dot no