rich7420 opened a new pull request, #11586:
URL: https://github.com/apache/ozone/pull/11586

   ## What changes were proposed in this pull request?
   
   Unsigned chunked uploads stop after the decoded payload, so a missing or 
malformed checksum trailer can be accepted. Parse the declared trailer and 
require valid framing, Base64, checksum length, and end of body before 
committing an object or multipart part. Apply completion checks to the FSO 
directory path as well.
   
   Reuse the typed trailer declaration and the existing write guard. Payload 
checksum comparison is handled separately in HDDS-16660.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-16661
   
   ## How was this patch tested?
   
   - Final targeted local suites: 269 tests, no failures or errors; checkstyle 
passed.
   - New endpoint and FSO regressions fail without the fix, including 
missing/truncated trailers and invalid decoded length.
   - [Fork CI](https://github.com/rich7420/ozone/actions/runs/38928401714): 
passed at `ca00873f1f`.
   - [10×10 on the same 
commit](https://github.com/rich7420/ozone/actions/runs/38939656367): passed for 
`TestUnsignedChunkInputStream`, `TestObjectPut`, `TestPartUpload`, and 
`TestS3ObjectWriteGuard`.
   
   Generated-by: Codex (GPT-6)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to