fix:告警清理

Signed-off-by: liuwenxin <liuwenxin11@huawei.com>
This commit is contained in:
liuwenxin
2022-11-01 11:50:27 +08:00
parent 972d765c6e
commit 8b54493665
34 changed files with 39 additions and 102 deletions
@@ -52,7 +52,7 @@ static UINT32 TestCase(VOID)
ICUNIT_ASSERT_NOT_EQUAL(buf, NULL, buf);
buf[7] = '\0'; /* end index 7 */
PRINTK("%d\n", __LINE__);
ret = strcpy_s(buf, 100, src); /* Check LMS detection information when the strcpy_s dest max set 100 overflows. */
(VOID)strcpy_s(buf, 100, src); /* Check LMS detection information when the strcpy_s dest max set 100 overflows. */
PRINTK("%d\n", __LINE__);
ret = LOS_MemFree(g_testLmsPool, buf);