Skip to content

[GLUTEN-8524][VL] Fix input output errors#8525

Merged
FelixYBW merged 1 commit intoapache:mainfrom
jkhaliqi:jk_cve_io
Jan 16, 2025
Merged

[GLUTEN-8524][VL] Fix input output errors#8525
FelixYBW merged 1 commit intoapache:mainfrom
jkhaliqi:jk_cve_io

Conversation

@jkhaliqi
Copy link
Copy Markdown
Contributor

@jkhaliqi jkhaliqi commented Jan 14, 2025

What changes were proposed in this pull request?

Detect and handle input/output errors

(Fixes: #8524)

@github-actions github-actions bot added the VELOX label Jan 14, 2025
@github-actions
Copy link
Copy Markdown

#8524

if (strings[i] != nullptr) {
printf(" %s\n", strings[i]);
} else {
printf("It was null at i = %lu\n", i);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It prints the symbols. You may either add an assert before print or just ignore null pointer.  Don't print the this.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@jkhaliqi can you update?

Copy link
Copy Markdown
Contributor Author

@jkhaliqi jkhaliqi Jan 15, 2025

Choose a reason for hiding this comment

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

updated, ignoring the nullptr, thank you!

@FelixYBW FelixYBW merged commit d286e12 into apache:main Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[VL] Security Voliations Detect and handle input/output errors

2 participants