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