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

Aperta
#1,706 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
1/5
Tempo stimato
Meno di un'ora
Idoneità per principianti
20/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
docker, php

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Dockerfile
Stelle
4.1k
Fork
2k
Merge medio
34m
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di docker-library/php

Tutte le issue di docker-library/php

Issue simili

Altre issue su DevOps

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.