summaryrefslogtreecommitdiff
path: root/server/FirewallController.cpp
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2015-08-17 17:16:59 -0700
committerStephen Hines <srhines@google.com>2015-08-18 00:39:35 +0000
commitf86df5580e86c2405c71c708408eeee57b38c0d3 (patch)
tree4bcaaddc41fa8e810405847eb3d10f334f93eef7 /server/FirewallController.cpp
parent451ca998f1eed36d5fefb5593ed43605c4d6c0bd (diff)
Move local union such that it doesn't escape (and get optimized out).
Bug: 23239997 The Clang update exposed a latent bug in the code here, where a pointer to a local variable escaped the encapsulating block. Clang noticed the end of this object's lifetime, and removed assignments to its original storage (because they are now dead assignments). By moving the union out of the block, it will survive until the sendmsg() call, and the expected writes will be restored. Change-Id: If2106d2f53d761ddca6dd26ab2648244d737dcd9
Diffstat (limited to 'server/FirewallController.cpp')
0 files changed, 0 insertions, 0 deletions