diff options
author | Chih-Hung Hsieh <chh@google.com> | 2016-06-02 14:40:09 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2016-06-02 15:02:25 -0700 |
commit | 9af13d24b16141d3f931b3b3768dfe08d6584153 (patch) | |
tree | 844775e0cba6d52104fa4a22372a95e392a7b1bf /tests/string_test.cpp | |
parent | 676f6e3c7f29d4b77de8400f3b9a0113d6bb8a3b (diff) |
Do not return with stack address in global variable.
Clang static analyzer gives warning when address of
local variable 'attr' is saved in a global variable.
This change passes required values down to signal handler
instead of saving local variable address in a signal handler.
Change-Id: I7955939487a5afdf7b1f47eb74a92eb5aa76cfc9
Diffstat (limited to 'tests/string_test.cpp')
0 files changed, 0 insertions, 0 deletions