mattermost/server/platform
JG Heithcock 95be6eaf86
[MM-63434] Use forked PDF library with parsing depth limit (cherry-pick #35947) (#36177)
* [MM-63434] Use forked PDF library with parsing depth limit (#35947)

* [MM-63434] Use forked PDF library with parsing depth limit

Replace github.com/ledongthuc/pdf with a fork that limits object
nesting depth during parsing. Add test coverage.

* Reverting incorrect merge that lost the change to msgpack

The error was in merge 64bdff88d8

* Remove stale ledongthuc/pdf checksums after fork replace (go mod tidy)

* Fix TestPdfFile expected text for forked PDF extractor (release-10.11)

The jgheithcock/pdf fork returns a leading newline for sample-doc.pdf; align
with master and 11.x cherry-picks.
2026-04-26 18:07:07 -03:00
..
services [MM-63434] Use forked PDF library with parsing depth limit (cherry-pick #35947) (#36177) 2026-04-26 18:07:07 -03:00
shared Upgrade Go to 1.24.3 (#31220) 2025-06-10 15:04:57 -03:00