Skip to content

Fix null dereference #8285

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

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion ydb/library/yql/minikql/comp_nodes/mkql_wide_combine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -456,8 +456,10 @@ class TSpillingSupportState : public TComputationValue<TSpillingSupportState> {

if (bucket.BucketState == TSpilledBucket::EBucketState::InMemory) {
std::copy_n(ViewForKeyAndState.data(), KeyWidth, static_cast<NUdf::TUnboxedValue*>(bucket.InMemoryProcessingState->Tongue));

bool isNew = bucket.InMemoryProcessingState->TasteIt();
Throat = bucket.InMemoryProcessingState->Throat;
return bucket.InMemoryProcessingState->TasteIt()? ETasteResult::Init : ETasteResult::Update;
return isNew ? ETasteResult::Init : ETasteResult::Update;
}

// Prepare space for raw data
Expand Down
Loading