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

fix UB in table_t::print_default #116

Merged
merged 1 commit into from
Feb 6, 2024
Merged

Conversation

yatancuyu
Copy link

row.resize(columns_order.size()); may lead to UB when YANET_FORMAT_COLUMNS is enabled, because it may delete std::string printed further.

@yatancuyu yatancuyu requested a review from taitov as a code owner February 6, 2024 11:42
@taitov taitov merged commit 5c31cad into yanet-platform:main Feb 6, 2024
9 checks passed
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