commit | c894f81bdf106f648561e569e0dc97fc6046115b | [log] [tgz] |
---|---|---|
author | Wonsik Kim <wonsik@google.com> | Tue Sep 08 17:32:28 2015 +0900 |
committer | Wonsik Kim <wonsik@google.com> | Mon Sep 14 13:49:57 2015 +0900 |
tree | 38b63da21f7b2ae19a1e85ae56345eae3ad5a5ba | |
parent | 69ae6a87342d5260d8d8660accc8aa1b9367dbbe [diff] |
DO NOT MERGE NuCachedSource2: fix possible erroneous early free Because the constructor of NuCachedSource2 sent a message to AHandlerReflector object, AHandlerReflector::onMessageReceived could have executed just before the object gets wrapped in a strong pointer, resulting in erroneous early free. Fix the issue by using static Create function to ensure the message is sent after the object is wrapped in a sp. Bug: 23882800 Change-Id: I38a9d7a3083f184b4c81d0b00ba1661721278855