DescriptionFix bug in Dart_GetTypeOfExternalTypedData.
This API function would return true for typed data view objects, even
if the view has a non-external data object underneath.
It is used e.g. by Builtin_LoadSource. This function copies the data
object for internal typed-data objects.
When it wrongly be identifies a view as external, it consequently results
in crash/undefined behavior because GC may interfere with this internal
data pointer.
BUG=
R=asiva@google.com, koda@google.com
Committed: https://github.com/dart-lang/sdk/commit/19bb19d7162cfae8e9fc1981fc12d8c75a2f83b0
Patch Set 1 #
Total comments: 1
Patch Set 2 : addressed comment #Messages
Total messages: 6 (1 generated)
|