Description: 门禁告警清理

IssueNo: ICRXNL
Feature or Bugfix: Bugfix
Binary Source: No
Signed-off-by: y30015170 <1169998606@qq.com>
This commit is contained in:
y30015170
2025-08-07 21:06:22 +08:00
parent e295d22471
commit e9a7f2cd16
+5
View File
@@ -111,6 +111,11 @@ int do_symlink(const char *target, int newfd, const char *path)
goto errout;
}
if (target == NULL)
{
goto errout;
}
if (strlen(target) >= PATH_MAX)
{
ret = -ENAMETOOLONG;