summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2017-02-23 13:46:09 -0800
committerTom Cherry <tomcherry@google.com>2017-02-23 13:50:21 -0800
commit0506b18a3655562ad32ee279ba394f9869faf995 (patch)
treec940d771950f7dec18b29a0453bd88bc6bdc304f /libutils/Unicode.cpp
parent4bd3facbb1e79055f92e2ea8d42cb81552ffc6bb (diff)
Check setegid() return values
The clang static analyzer is complaining that we are not checking the setegid() return value, so let's add these checks. We should never fail to return to AID_ROOT, so fail hard in this case. Bug: 26962034 Test: Boot bullhead Test: export WITH_STATIC_ANALYZER=1 and run 'mm' in the project directory Change-Id: I62e95b045c5734305c71502871b6cf17f152edbc
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions