Projects
Mega:24.03
ctags
_service:tar_scm:0006-ctags-5.8-memmove.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:0006-ctags-5.8-memmove.patch of Package ctags
diff -r -u ctags-5.8.orig/routines.c ctags-5.8/routines.c --- ctags-5.8.orig/routines.c 2013-06-13 10:42:08.048576327 -0400 +++ ctags-5.8/routines.c 2013-06-13 10:48:25.150366836 -0400 @@ -757,13 +757,13 @@ else if (cp [0] != PATH_SEPARATOR) cp = slashp; #endif - strcpy (cp, slashp + 3); + memmove (cp, slashp + 3, strlen(slashp + 3) + 1); slashp = cp; continue; } else if (slashp [2] == PATH_SEPARATOR || slashp [2] == '\0') { - strcpy (slashp, slashp + 2); + memmove (slashp, slashp + 2, strlen(slashp + 2) + 1); continue; } }
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2