Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e3996222 authored by Wonsik Kim's avatar Wonsik Kim Committed by Gerrit Code Review
Browse files

Merge "DefaultBufferPoolSender: check iterator validity" into main

parents 99a096a9 f13f93bd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -302,7 +302,7 @@ BufferPoolTypes::BufferPoolStatus DefaultBufferPoolSender::send(
                            "invalid receiver connection id (0).";
            return bufferpool2::ResultStatus::CRITICAL_ERROR;
        } else {
            if (isNewConnection) {
            if (foundConnection == mConnections.end()) {
                foundConnection = mConnections.try_emplace(
                        connectionId, receiverConnectionId, now).first;
            } else {