[
https://issues.apache.org/jira/browse/WW-5466?focusedWorklogId=939040&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-939040
]
ASF GitHub Bot logged work on WW-5466:
--------------------------------------
Author: ASF GitHub Bot
Created on: 20/Oct/24 09:09
Start Date: 20/Oct/24 09:09
Worklog Time Spent: 10m
Work Description: lukaszlenart merged PR #1068:
URL: https://github.com/apache/struts/pull/1068
Issue Time Tracking
-------------------
Worklog Id: (was: 939040)
Remaining Estimate: 0h
Time Spent: 10m
> Boundary condition NPE possible with JakartaMultiPartRequest
> ------------------------------------------------------------
>
> Key: WW-5466
> URL: https://issues.apache.org/jira/browse/WW-5466
> Project: Struts 2
> Issue Type: Bug
> Components: Core
> Affects Versions: 6.2.0, 6.3.0, 6.4.0, 6.6.0, 6.6.1
> Environment: Java 8,11 on Windows. Should be unaffected by
> environment.
> Reporter: James Chaplin
> Priority: Minor
> Labels: pull-request-available
> Fix For: 6.7.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> It is possible for a NullPointerException (NPE) to be thrown by the
> JakartaMultiPartRequest file upload processing. It is a boundary condition,
> possible if struts.multipart.maxStringLength has not been set and the upload
> request also includes normal fields (in addition to the file).
>
> Given defaults for configuration, it is unlikely to be encountered by most
> users/configuration. A potential mitigation PR may follow.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)