diff options
author | 2022-05-13 18:15:11 +0200 | |
---|---|---|
committer | 2022-05-15 18:03:55 +0000 | |
commit | e6cf914c3fea45d237e40c675ff20dea812d699d (patch) | |
tree | 2138bfcec1a79ca4c79d11a23c697704650cdb37 /libs/androidfw/LocaleDataTables.cpp | |
parent | a1ae227bc289c9df8fdcfe586c209d33a1a35f09 (diff) |
Don't throw in socket_read if socket_read_all returns < 0.
All codepaths in socket_read_all that return a negative value have
already thrown an exception. socket_read should not throw again.
This causes debuggagle apps to crash with a JNI failure if
LocalSocket#read gets an error.
Test: atest CtsNetTestCases
Bug: 229813087
Change-Id: I2a04a799d3748c221f8555fa7afc40d73f0f392c
Diffstat (limited to 'libs/androidfw/LocaleDataTables.cpp')
0 files changed, 0 insertions, 0 deletions