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 | c8df300bb313a2cc542441378ce35f858e0d9785 (patch) | |
| tree | d8e532d25edd551db366b825e96f22a69faf8b48 /libutils/Unicode.cpp | |
| parent | 0ff462598bb830e563b6d9b0b9841c26e540289e (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
