summaryrefslogtreecommitdiff
path: root/compiler/optimizing/loop_analysis.h
diff options
context:
space:
mode:
author Santiago Aboy Solanes <solanes@google.com> 2023-05-15 12:23:13 +0100
committer Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2023-05-15 12:37:35 +0000
commitfbe3fe1ba2a27bbfbd9e3e9691269dc14ecbe31c (patch)
treea616b82d2acc0182eb7411a71c10c3fb6a7e0fe9 /compiler/optimizing/loop_analysis.h
parentfef5e57e4b82a966614cd5372226ec4a15598491 (diff)
Check string size before using strlen
Otherwise, if the string is shorter than 'cdex' we will have a heap-buffer-overflow. Bug: 282186582 Test: Run the fuzzer locally with a 2 byte file Change-Id: Iaa8baae926ae6c1d4ee6b7772489e8382618f79b
Diffstat (limited to 'compiler/optimizing/loop_analysis.h')
0 files changed, 0 insertions, 0 deletions