Heads-up: 8.4.27 / 8.5.12 images ship a SimpleXML double-free regression (php-src#24488)

オープン
#1,706 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
20/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
docker, php

調査の方向性

Read the linked upstream issue php-src#24488 and approved fix php-src#24494 to confirm the regression and release status. The report says the PHP images inherit upstream PHP without extra patches; done means users can identify the affected versions and expected fix release, though this issue requests no code change.

索引モデルが issue の本文から書いたものです。

説明

For users landing here after zend_mm_heap corrupted crashes on the 8.4.27 / 8.5.12 images: this is an upstream regression from the 21 October release (https://github.com/php/php-src/issues/24488). SimpleXML objects caught in a reference cycle make the GC double-free their properties table; json_decode(json_encode($xml), true) is a common trigger.

The fix is approved (https://github.com/php/php-src/pull/24494) and will arrive with the next upstream release; 8.3.36 and 8.2.35 are not affected. I understand the images track upstream without extra patches, so this is mainly so people can find the cause. Feel free to close.

主要言語
Dockerfile
スター
4.1k
フォーク
2k
平均マージ
34分
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

docker-library/php のほかの issue

docker-library/php の issue をすべて見る

似ている issue

DevOps の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。