Bug #80370 [NEW]: getAttributes segfault on dynamic properties

From: Date: Sun, 15 Nov 2020 00:43:00 +0000
Subject: Bug #80370 [NEW]: getAttributes segfault on dynamic properties
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-230356@lists.php.net to get a copy of this message
From: gmblar+php at gmail dot com Operating system: Docker PHP version: 8.0.0RC4 Package: Reflection related Bug Type: Bug Bug description:getAttributes segfault on dynamic properties Description: ------------ getAttributes segfault on dynamic properties Test script: --------------- class Foobar { } $foobar = new Foobar(); $foobar->bar = 42; $reflectionObject = new ReflectionObject($foobar); $reflectionProperty = $reflectionObject->getProperty('bar'); $reflectionProperty->getAttributes(); Expected result: ---------------- Nothing Actual result: -------------- AH00052: child pid 40 exit signal Segmentation fault (11) -- Edit bug report at https://bugs.php.net/bug.php?id=80370&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=80370&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=80370&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=80370&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=80370&r=needscript Try newer version: https://bugs.php.net/fix.php?id=80370&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=80370&r=support Expected behavior: https://bugs.php.net/fix.php?id=80370&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=80370&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=80370&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=80370&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=80370&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=80370&r=dst IIS Stability: https://bugs.php.net/fix.php?id=80370&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=80370&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=80370&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=80370&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=80370&r=mysqlcfg

« previous php.bugs (#230356) next »