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

   ## What changes were proposed in this pull request?
   S3MultipartUploadCompleteRequestWithFSO seems to throw NPE when an empty 
file is being overwritten by non-zero file because omBucketInfo allows null 
value (null value is passed when non-update needed). This patch fix this by 
checking omBucketInfo before use.
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-12131
   
   ## How was this patch tested?
   I've added annotation for `@Nullable`.
   Local compilation are passed and it'll be checked by CI. Let me know if more 
tests are suggested.


-- 
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: issues-unsubscr...@ozone.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to