Hi Shenglei,
Please update the commit message and subject before commit, since we have added
ASSERT code for this case that the StringPtr cannot be NULL instead of adding
check.
With the commit message updated, Reviewed-by: Dandan Bi .
Thanks,
Dandan
> -Original Message-
> From:
If the target string doesn't appear in the searched string,
StringPtr will be NULL. So add a check for that.
Cc: Dandan Bi
Cc: Eric Dong
Signed-off-by: Shenglei Zhang
---
v2: Instead of returning a value, we add ASSERT to ensure
StringPtr is not NULL.