Skip to content
Commit 4237ed70 authored by arty.ho's avatar arty.ho Committed by Arty Ho
Browse files

Allocate new native handle to store sidebandStream

When we get sidebandStream from TvInput, we only store the address of
native handle, the address point to native_handle_t in _hidl_replay.
After openStream is finished, the _hidl_replay will be freed
automatically, therefore we will use the freed memory in
setSidebandStrem, It will cause the writeNativeHandle fail in
setSidebandStrem.

Change-Id: Idd2e8343670ef5a3048836f1db978cd7c04378b7
parent 75fb51b0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment