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

未關閉
#1,706 0 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
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 分鐘
30 天內合併 PR
1

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

docker-library/php 的其他 Issue

查看 docker-library/php 的全部 Issue

相似的 Issue

更多 DevOps Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。