Skip to content

util/maven: bound property interpolation steps and output size - #413

Merged
cuixq merged 1 commit into
google:mainfrom
cuixq:fix
Nov 17, 2026
Merged

cuixq merged 1 commit into
google:mainfrom
cuixq:fix

Conversation

@cuixq

@cuixq cuixq commented Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

Prevent oversized POM property expansion during string interpolation by capping each interpolated string at 128 placeholder steps and 64 KiB of output, returning the original uninterpolated string if either limit is exceeded.

@cuixq
cuixq marked this pull request as ready for review November 12, 2026 02:01
@cuixq
cuixq requested a review from slugclub November 12, 2026 02:01
@cuixq
cuixq merged commit 02e0c27 into google:main Nov 17, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants