diff options
author | Daichi Hirono <hirono@google.com> | 2016-12-05 16:50:44 +0900 |
---|---|---|
committer | Daichi Hirono <hirono@google.com> | 2016-12-12 14:34:29 +0900 |
commit | a6373ec1d47c0b370c87b3915feeba8f2b4523f7 (patch) | |
tree | d8e532d25edd551db366b825e96f22a69faf8b48 /libutils/Unicode.cpp | |
parent | 4b4475308598659137657261218fc5a3207ec79c (diff) |
Fix checks for reading and writing FuseMessage.
Previously FuseMessage were checking result of read/write operation
after checking header.len value is valid. This was wrong because
header.len does not contain correct value when read function does not
read any bytes and returns zero.
Bug: 33278098
Test: libappfuse_test
Change-Id: Icf998ca6c3eeee20cbc4aa2f65195a87e59ffc27
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions