We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc989c6 commit 7861fd2Copy full SHA for 7861fd2
src/StfSender/StfSenderOutputUCX.cxx
@@ -235,7 +235,13 @@ bool StfSenderOutputUCX::disconnectTfBuilder(const std::string &pTfBuilderId)
235
}
236
return true;
237
238
- lConnInfo = std::move(mOutputMap.extract(lIt).mapped());
+ auto lConnInfoNode = mOutputMap.extract(lIt);
239
+ if (lConnInfoNode.empty()) {
240
+ // this should never happen, but the check makes the static analyzer happy
241
+ EDDLOG("StfSenderOutputUCX::disconnectTfBuilder: Internal error. tfb_id={}", pTfBuilderId);
242
+ return true;
243
+ }
244
+ lConnInfo = std::move(lConnInfoNode.mapped());
245
246
247
// Transport is only closed when other side execute close as well. Execute async
0 commit comments