Descriptionppapi: fix crash/infinite loop in VideoEncoder
Depending on the libc used with your NaCl plugins, if the VideoEncoder
proxy receives a EncodeReply message after it has been closed, the
plugin will crash (newlib) or enter an infinite loop (glibc) because
it tries to remove the end() iterator from a std::map.
BUG=455409
TEST=run ppapi/examples/video_encode multiple times and verify the test keeps recording new videos
Committed: https://crrev.com/86bd0448bb11826977519f852522267e403daeb0
Cr-Commit-Position: refs/heads/master@{#328997}
Patch Set 1 #Patch Set 2 : Check callbacks first thing #Patch Set 3 : Fix compilation #
Total comments: 1
Patch Set 4 : Add comment #
Messages
Total messages: 11 (3 generated)
|