parser common UPDATE explicit limited strcpy
diff --git a/src/parser_common.c b/src/parser_common.c
index 54910b2..072a4e7 100644
--- a/src/parser_common.c
+++ b/src/parser_common.c
@@ -1669,7 +1669,7 @@
 
     /* store date */
     LY_CHECK_RET(lysp_check_date(ctx, stmt->arg, strlen(stmt->arg), "revision"));
-    strcpy(rev->date, stmt->arg);
+    strncpy(rev->date, stmt->arg, LY_REV_SIZE - 1);
 
     /* parse substatements */
     for (const struct lysp_stmt *child = stmt->child; child; child = child->next) {