Skip to content

Fix: Avoid NRE on CloudflareR2Service.GetAllObjects when no file in bucket - #173

Merged
paul-fresquet merged 3 commits into
masterfrom
fix/fix-GetAllObjects-NullRef-when-no-file
Aug 15, 2025
Merged

paul-fresquet merged 3 commits into
masterfrom
fix/fix-GetAllObjects-NullRef-when-no-file

Conversation

@paul-fresquet

Copy link
Copy Markdown
Contributor

This pull request introduces a small improvement to the handling of null responses when listing objects in the CloudflareR2Service. The change ensures that if S3Objects is null, an empty list is returned instead of causing a potential null reference exception.

@sonarqubecloud

Copy link
Copy Markdown

@paul-fresquet
paul-fresquet merged commit 1449062 into master Aug 15, 2025
25 of 26 checks passed
@paul-fresquet
paul-fresquet deleted the fix/fix-GetAllObjects-NullRef-when-no-file branch August 15, 2025 14:33
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.

2 participants