This bug was fixed in the package php8.1 - 8.1.2-1ubuntu2.15
---
php8.1 (8.1.2-1ubuntu2.15) jammy; urgency=medium
* d/p/fix-attribute-instantion-dangling-pointer.patch: Fix sigsegv from
dangling pointer on attribute observer. (LP: #2054621)
* d/p/fix-attribute-instantion-memor
hoteldruid/3.0.3-1 (arm64)
mediawiki/1:1.35.6-1 (arm64)
php-imagick/3.6.0-4ubuntu1 (amd64, arm64, armhf, ppc64el, s390x)
php8.1/8.1.2-1ubuntu2.15 (arm64, i386)
These were either flaky tests (re-triggering fixed the issue) or
failures unrelated to this SRU (migration-reference/0 runs failed).
We s
I verified this change by running the script described in the test plan
above.
with php8.1 8.1.2-1ubuntu2.14, the two tests run fail.
With the version in proposed, 8.1.2-1ubuntu2.15, they pass:
Running selected tests.
PASS Bug #81430 (Attribute instantiation frame accessing invalid frame pointer
** Description changed:
SRU Justification
[ Impact ]
Invoking reflection via the observer API on a class with an attribute
annotation causes a dangling pointer and segmentation fault. Certain PHP
extensions may register an observer of an attribute instantiation using
reflection.
I see some:
# git ubuntu remote add athos-ribeiro
# let's build the php8.1-ztest packages matching the version from the release
pocket
git checkout zend-test-ext-nofix
I suppose you didn't mean to comment the remote add?
Also, this requires the git-ubuntu snap being installed. Which is fine,
it
** Changed in: php8.1 (Ubuntu Jammy)
Status: Triaged => In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2054621
Title:
Fix PHP crashes due to accessing dangling pointers
To manage
Test plan updated.
** Description changed:
SRU Justification
[ Impact ]
Invoking reflection via the observer API on a class with an attribute
annotation causes a dangling pointer and segmentation fault. Certain PHP
extensions may register an observer of an attribute instantiation
This is fixed in PHP >= 8.1.3 (https://github.com/php/php-
src/commit/2f6a06ccb0ef78e6122bb9e67f9b8b1ad07776e1)
I will update the test plan.
Thanks, Robie.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bu
8.2 and 8.3 are unaffected. I'll let Athos chime in with the steps
necessary.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2054621
Title:
Fix PHP crashes due to accessing dangling pointers
To mana
What's the status of this bug in Mantic and Noble please? Were 8.2 and
8.3 ever affected, and if so, in which versions were they fixed? I
couldn't figure this out within a few minutes - sorry!
> [ Test Plan ]
> Run the upstream tests included within this fix. To do so, an upstream
development/tes
** Summary changed:
- PHP crashes on Laravel 9+ with certain extensions
+ Fix PHP crashes due to accessing dangling pointers
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2054621
Title:
Fix PHP cra
11 matches
Mail list logo