Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check validity of memos from GraphQL before printing them #16587

Merged
merged 1 commit into from
Feb 8, 2025

Conversation

mrmr1993
Copy link
Member

@mrmr1993 mrmr1993 commented Feb 8, 2025

This PR fixes #16155. Memos sent in JSON format to the GraphQL endpoint may have an invalid length, and can cause nodes to crash when printing memos that are too short.

This PR fixes this by adding validity checks around the code involved in printing.

@mrmr1993 mrmr1993 requested a review from a team as a code owner February 8, 2025 02:15
@mrmr1993
Copy link
Member Author

mrmr1993 commented Feb 8, 2025

!ci-build-me

@mrmr1993
Copy link
Member Author

mrmr1993 commented Feb 8, 2025

!ci-nightly-me

@mrmr1993
Copy link
Member Author

mrmr1993 commented Feb 8, 2025

@deepthiskumar deepthiskumar merged commit 7248f30 into compatible Feb 8, 2025
55 checks passed
@deepthiskumar deepthiskumar deleted the feature/safe-user-command-memo-printing branch February 8, 2025 06:25
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