提交 4f9a90fa 编写于 作者: A atanisoft 提交者: Me No Dev

fix #2232 and #2033 (#2233)

上级 310e78e6
......@@ -456,7 +456,7 @@ int log_printf(const char *format, ...)
ets_printf("%s", temp);
#endif
va_end(arg);
if(len > 64){
if(len > sizeof(loc_buf)){
free(temp);
}
return len;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册