commit | c8df300bb313a2cc542441378ce35f858e0d9785 | [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 | 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