Skip to content

[pull] master from php:master#1055

Merged
pull[bot] merged 8 commits into
turkdevops:masterfrom
php:master
Jul 2, 2026
Merged

[pull] master from php:master#1055
pull[bot] merged 8 commits into
turkdevops:masterfrom
php:master

Conversation

@pull

@pull pull Bot commented Jul 2, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

jorgsowa and others added 8 commits July 2, 2026 11:49
…ead_data()

When an IFD is not followed by a 4-byte next-IFD offset, the EXIF block has no further IFD.
Treat that as the end of the chain and return the parsed tags, instead of warning and discarding them.
The bounds check from bug #72094 still applies, so the absent offset bytes are never read.

Closes GH-22486
* PHP-8.4:
  Update NEWS for bugfixes
  ext/dba: fix oob read on malformed length field in dba flatfile handler
  ext/exif: Fix GH-11020: spurious "Illegal IFD size" warning in exif_read_data()
  ext/session: fix GH-21314 (session GC behaviour is different since 8.4)
* PHP-8.5:
  Update NEWS for bugfixes
  ext/dba: fix oob read on malformed length field in dba flatfile handler
  ext/exif: Fix GH-11020: spurious "Illegal IFD size" warning in exif_read_data()
  ext/session: fix GH-21314 (session GC behaviour is different since 8.4)
There is no need to duplicate the strings as they are all `const char*` pointers.
Thus, just change the handle to return `const char*`
@pull pull Bot locked and limited conversation to collaborators Jul 2, 2026
@pull pull Bot added the ⤵️ pull label Jul 2, 2026
@pull pull Bot merged commit 04b63f9 into turkdevops:master Jul 2, 2026
0 of 3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants