Skip to content

Conversation

wgtmac
Copy link
Member

@wgtmac wgtmac commented Sep 29, 2025

Rationale for this change

See https://oss-fuzz.com/testcase-detail/4656328221196288

What changes are included in this PR?

Return error on invalid data pointer inside the DeltaByteArrayDecoderImpl.

Are these changes tested?

Pass all CIs.

Are there any user-facing changes?

No.

Copy link

⚠️ GitHub issue #47666 has been automatically assigned in GitHub to PR creator.

@wgtmac
Copy link
Member Author

wgtmac commented Sep 29, 2025

Does this fix make sense? @mapleFU @pitrou


Status AppendValue(const uint8_t* data, int32_t length,
std::optional<int64_t> estimated_remaining_data_length = {}) {
if (ARROW_PREDICT_FALSE(data == nullptr)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps we need find out in which case this is nullptr

@github-actions github-actions bot added awaiting committer review Awaiting committer review and removed awaiting review Awaiting review labels Sep 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants