summaryrefslogtreecommitdiffstats
path: root/subreader.c
diff options
context:
space:
mode:
Diffstat (limited to 'subreader.c')
-rw-r--r--subreader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/subreader.c b/subreader.c
index 3bc8f583aa..de1ebc5ac6 100644
--- a/subreader.c
+++ b/subreader.c
@@ -1133,7 +1133,7 @@ subtitle* subcp_recode1 (subtitle *sub)
while (l){
char *ip = icbuffer;
char *op = sub->text[--l];
- strcpy(ip, op);
+ strlcpy(ip, op, ICBUFFSIZE);
ileft = strlen(ip);
oleft = ICBUFFSIZE - 1;