diff options
author | Wei Wang <wvw@google.com> | 2019-10-03 21:41:36 -0700 |
---|---|---|
committer | Wei Wang <wvw@google.com> | 2019-10-04 17:01:46 +0000 |
commit | 6eb5314220212b0241c2639f82f8f197ea24bbf4 (patch) | |
tree | db3204d4f9e7ffa02b4ccc257713c4375506951e /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 496d47ab030e56022ede4012cba8771f54d079ad (diff) |
Enforce argument check on setThreadGroup and friends
in android/os/Process.java
@param group The target group for this thread from THREAD_GROUP_*.
However, there is no boundary check on this.
and "SchedPolicy sp = (SchedPolicy) grp;" is an undefined behavior.
Fixes: 142097996
Test: boot
Change-Id: I8f6f9f5527903aa8b311c419a2ec803b4894cf8f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions