Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1099)

Unified Diff: mojo/edk/system/broker.h

Issue 1537593002: Fix UAF in new Mojo EDK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: improve comment Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | mojo/edk/system/broker_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/broker.h
diff --git a/mojo/edk/system/broker.h b/mojo/edk/system/broker.h
index f78fff78ee31ff1d6f80da5b98be043595c0f63b..3b53bae4e82d2126f3d50b376476cb3b5d2ec9d9 100644
--- a/mojo/edk/system/broker.h
+++ b/mojo/edk/system/broker.h
@@ -55,6 +55,8 @@ class MOJO_SYSTEM_IMPL_EXPORT Broker {
// Called by |message_pipe| when it's closing so that its route can be
// unregistered.
+ // It's ok to call this from a callback (i.e. from OnError or
+ // GotNonTransferableChannel).
virtual void CloseMessagePipe(uint64_t pipe_id,
MessagePipeDispatcher* message_pipe) = 0;
};
« no previous file with comments | « no previous file | mojo/edk/system/broker_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698