Skip to content

Add form_data_skipped_length_ limit check#3653

Open
giorka wants to merge 1 commit into
tdlib:masterfrom
giorka:patch-2
Open

Add form_data_skipped_length_ limit check#3653
giorka wants to merge 1 commit into
tdlib:masterfrom
giorka:patch-2

Conversation

@giorka
Copy link
Copy Markdown

@giorka giorka commented May 19, 2026

There is already a TODO in FormDataParseState::SkipEpilogue to check that form_data_skipped_length_ doesn't become too large.
Add a missing MAX_CONTENT_SIZE check and return HTTP 413 when the limit is exceeded.

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.

1 participant