From 4e692fe667c5ae43dafdcf956c105faa0ff41360 Mon Sep 17 00:00:00 2001 From: orbisai0security Date: Thu, 9 Jul 2026 04:24:10 +0000 Subject: [PATCH] fix: V-003 security vulnerability Automated security fix generated by OrbisAI Security --- sbin/restore/tape.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/restore/tape.c b/sbin/restore/tape.c index efa6a4fc59cd1..3b087d8eacee8 100644 --- a/sbin/restore/tape.c +++ b/sbin/restore/tape.c @@ -263,7 +263,7 @@ setinput(const char *source) } pipein++; } - (void) strcpy(magtape, source); + (void) strlcpy(magtape, source, sizeof(magtape)); } void