提交 5cbece13 编写于 作者: G Ganlin Zhao

[TD-6356]<fix>: Fix the crash in TS-187

上级 42c0cd01
......@@ -224,8 +224,7 @@ char* strntolower_s(char *dst, const char *src, int32_t n) {
assert(dst != NULL);
if (n == 0) {
*p = 0;
return dst;
return NULL;
}
while (n-- > 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册