From 2f6b8469cc27c0679460a2b70a35f8ba830281fc Mon Sep 17 00:00:00 2001 From: grischka Date: Thu, 31 Jan 2013 11:29:45 +0100 Subject: safety: replace occurrences of strcpy by pstrcpy --- libtcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libtcc.c') diff --git a/libtcc.c b/libtcc.c index b0a9b1a..68b3e10 100644 --- a/libtcc.c +++ b/libtcc.c @@ -1636,7 +1636,7 @@ PUB_FUNC char *tcc_default_target(TCCState *s, const char *default_file) && *ext) strcpy(ext, ".o"); else - pstrcpy(buf, sizeof(buf), "a.out"); + strcpy(buf, "a.out"); return tcc_strdup(buf); } -- cgit v1.3.1