Bug #70151 [NEW]: soap/php_encoding.c uses wrong type to call unset_property

From: Date: Mon, 27 Jul 2015 08:14:10 +0000
Subject: Bug #70151 [NEW]: soap/php_encoding.c uses wrong type to call unset_property
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-194744@lists.php.net to get a copy of this message
From: stas Operating system: * PHP version: 5.6.11 Package: SOAP related Bug Type: Bug Bug description:soap/php_encoding.c uses wrong type to call unset_property Description: ------------ soap/php_encoding.c has this code in unset_zval_property(): zval member; zend_class_entry *old_scope; INIT_PZVAL(&member); ZVAL_STRING(&member, name, 0); old_scope = EG(scope); EG(scope) = Z_OBJCE_P(object); Z_OBJ_HT_P(object)->unset_property(object, &member, 0 TSRMLS_CC); However, since 5.4 the signature of unset_property is: void (*zend_object_unset_property_t)(zval *object, zval *member, const struct _zend_literal *key TSRMLS_DC); So this code needs to be updated. -- Edit bug report at https://bugs.php.net/bug.php?id=70151&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70151&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70151&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70151&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=70151&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=70151&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=70151&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=70151&r=needscript Try newer version: https://bugs.php.net/fix.php?id=70151&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=70151&r=support Expected behavior: https://bugs.php.net/fix.php?id=70151&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=70151&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=70151&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=70151&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70151&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=70151&r=dst IIS Stability: https://bugs.php.net/fix.php?id=70151&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=70151&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=70151&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=70151&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=70151&r=mysqlcfg

« previous php.bugs (#194744) next »