summaryrefslogtreecommitdiff
path: root/camera/common/1.0/default/CameraModule.cpp
diff options
context:
space:
mode:
authorlesl <lesl@google.com>2020-11-30 19:09:31 +0800
committerlesl <lesl@google.com>2020-11-30 19:09:31 +0800
commit75915c31349cdb48ef695ec524f6549c75cc98d1 (patch)
treec94ad4a248112c4bb613ae97805b54705e15596d /camera/common/1.0/default/CameraModule.cpp
parent22646c2f6ee175ff8ab5a97eb2f1c70bc0869323 (diff)
wifi: ignore SIGPIPE when dumping stats to dumpstate
If dumpstate closes the reading end of the pipe (likely due to timeout) and wifi vendor hal attempts to write to the fd it received from dumpstate, it will receive sig 13 (SIGPIPE), and is then killed. We should protect wifi vendor hal from the abnormally behaved clients. Sync patch from ag/12321138. Reference from b/172972545 & b/161336019#comment29 Bug: 161336019 Bug: 172972545 Test: Manuel Test, Wifi works normally Change-Id: Ie7de040ac4320f83500c18e74e3c58d63b4df1b7
Diffstat (limited to 'camera/common/1.0/default/CameraModule.cpp')
0 files changed, 0 insertions, 0 deletions