platform_system_core/libappfuse
Daichi Hirono a6dee5e279 Add volatile to temporary variable.
FuseBuffer::HandleNotImpl save the value of |request.header.unique| to the
temporary variable, clear the buffer which is a union of |request| and
|response|, then write back the unique value to response.header.unique.

Before the CL, the temporary variable was wrongly removed by the compiler
optimization, and response.header.unique was always 0. The CL adds
volatile modifier as workaround to prevent the compiler optimization
from removing the temporary value.

Bug: 62429763
Test: libappfuse_tests
Change-Id: Ia853f805633f646f316f585a35c7b018000b6eb3
2017-06-23 11:23:12 +09:00
..
include/libappfuse Change FuseAppLoop so that it can process messages asynchronously. 2017-03-29 00:13:58 +00:00
tests Skip FUSE request from /dev/fuse if unique=0 2017-06-20 00:25:28 +00:00
Android.bp Merge "Add test config to libappfuse_test" am: dccf5a1dc8 am: 31d4b50cc4 2017-04-05 00:19:53 +00:00
AndroidTest.xml Add test config to libappfuse_test 2017-03-31 17:11:50 -07:00
EpollController.cc Add new EpollController class. 2017-03-15 15:58:06 +09:00
FuseAppLoop.cc Change FuseAppLoop so that it can process messages asynchronously. 2017-03-29 00:13:58 +00:00
FuseBridgeLoop.cc Skip FUSE request from /dev/fuse if unique=0 2017-06-20 00:25:28 +00:00
FuseBuffer.cc Add volatile to temporary variable. 2017-06-23 11:23:12 +09:00