[sanitizer] Fix Android tests

On Android some fields can be null

llvm-svn: 353377
This commit is contained in:
Vitaly Buka 2019-02-07 07:40:33 +00:00
parent 55a2fbe234
commit c41835230a
1 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,8 @@ std::string any_group;
const int N = 123456;
void Check(const char *str) {
if (!str)
return;
assert(strlen(str) != N);
}