Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
ctags
etags-strcpy-overlap.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File etags-strcpy-overlap.patch of Package ctags
Index: etags-17.38.1.4/etags.c =================================================================== --- etags-17.38.1.4.orig/etags.c +++ etags-17.38.1.4/etags.c @@ -907,6 +907,13 @@ print_version () exit (EXIT_SUCCESS); } +static void etags_strcpy(char *to, char *from) +{ + while (*from) + *to++ = *from++; + *to = *from; +} + #ifndef PRINT_UNDOCUMENTED_OPTIONS_HELP # define PRINT_UNDOCUMENTED_OPTIONS_HELP FALSE #endif @@ -6695,13 +6702,13 @@ absolute_filename (file, dir) else if (cp[0] != '/') cp = slashp; #endif - strcpy (cp, slashp + 3); + etags_strcpy (cp, slashp + 3); slashp = cp; continue; } else if (slashp[2] == '/' || slashp[2] == '\0') { - strcpy (slashp, slashp + 2); + etags_strcpy (slashp, slashp + 2); continue; } }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor