Home
last modified time | relevance | path

Searched hist:"45717242991 e0a74f15ead94903991d465a79501" (Results 1 – 1 of 1) sorted by relevance

/dokuwiki/inc/
H A DJpegMeta.php45717242991e0a74f15ead94903991d465a79501 Fri Jul 03 11:08:35 UTC 2026 Andreas Gohr <andi@splitbrain.org> Skip JPEG markers too short to hold the probed signature

_parseMarkerXmp() and the other signature-probing loops read a
fixed-length signature from every marker of a given type to identify it.
Since _getFixedString() throws on a short read, a valid but short APP1
segment (e.g. a 22-byte non-XMP APP1) made the XMP probe throw while
reading 29 bytes. That was logged as a damaged image and aborted the
marker loop, discarding any real XMP/EXIF segment that followed.

The issue was introduced in c9c56f8a0.

This is another symptom fix until the library is replaced as discussed
in #1970

Skip markers too short to contain the signature so probing continues
instead of failing. Fixes #4526.