2e9b04
--- binutils.orig/ld/pe-dll.c	2021-05-07 10:47:12.145769068 +0100
2e9b04
+++ binutils-2.35.2/ld/pe-dll.c	2021-05-07 11:01:43.000450119 +0100
2e9b04
@@ -3032,7 +3032,7 @@ pe_find_cdecl_alias_match (struct bfd_li
2e9b04
 	  if (pe_details->underscored)
2e9b04
 	    lname[0] = '_';
2e9b04
 	  else
2e9b04
-	    strcpy (lname, lname + 1);
2e9b04
+	    memmove (lname, lname + 1, strlen (lname));
2e9b04
 	  key.key = lname;
2e9b04
 	  kv = bsearch (&key, udef_table, undef_count,
2e9b04
 			sizeof (struct key_value), undef_sort_cmp);