diff options
author | Josh Gao <jmgao@google.com> | 2019-02-11 14:37:21 -0800 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2019-02-25 23:21:23 -0800 |
commit | 79e3be8a84cf70a87f48c4299fc7051d3d618c5f (patch) | |
tree | 249519c6441e21728f74b0e232a3acc2b050ad57 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | e24b30b7d4b8851592c59446939fe032aef439a0 (diff) |
Switch LocalSocket to android::base::{Send,Receive}FileDescriptorVector.
The previous implementation allocated an array of size
CMSG_SPACE(count) to store CMSG_LEN(count * sizeof(int)) elements, which
leads to bad things happening for values of count greater than 1 on
32-bit, and 2 on 64-bit.
Test: atest android.net.LocalSocketTest
Test: atest android.net.cts.LocalSocketTest
Change-Id: I0a9502c3358d8fa92d2d20e344c6270d6baedc07
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions