summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2019-02-11 14:37:21 -0800
committerJosh Gao <jmgao@google.com>2019-02-25 23:21:23 -0800
commit79e3be8a84cf70a87f48c4299fc7051d3d618c5f (patch)
tree249519c6441e21728f74b0e232a3acc2b050ad57 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parente24b30b7d4b8851592c59446939fe032aef439a0 (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/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions