commit | a6373ec1d47c0b370c87b3915feeba8f2b4523f7 | [log] [tgz] |
---|---|---|
author | Daichi Hirono <hirono@google.com> | Mon Dec 05 16:50:44 2016 +0900 |
committer | Daichi Hirono <hirono@google.com> | Mon Dec 12 14:34:29 2016 +0900 |
tree | d8e532d25edd551db366b825e96f22a69faf8b48 | |
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