[
https://issues.apache.org/jira/browse/WW-5874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lukasz Lenart updated WW-5874:
------------------------------
Fix Version/s: 7.6.0
> struts.multipart.maxStringLength does not bound memory used for multipart
> form fields
> -------------------------------------------------------------------------------------
>
> Key: WW-5874
> URL: https://issues.apache.org/jira/browse/WW-5874
> Project: Struts 2
> Issue Type: Bug
> Components: Core
> Affects Versions: 7.5.0
> Reporter: ALAN S
> Priority: Minor
> Fix For: 7.6.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> {\{JakartaStreamMultiPartRequest}} reads each form field fully into memory
> and builds the whole \{{String}} before checking
> \{{struts.multipart.maxStringLength}}. The limit rejects the value but does
> not bound the memory used to read it.
> The field should be decoded as it is read, keeping at most
> \{{maxStringLength}} characters.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)