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
commitcffdcbae215c4a25c3dcf0f62d83a013edb27d93 (patch)
treec940d771950f7dec18b29a0453bd88bc6bdc304f /libutils/Unicode.cpp
parent1439687cb8e3e96128b82c23b0d2028ac1030eaa (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