Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:sschapiro:openstack:upstream
xemacs
xemacs-21.5.29-etags-memmove-545399.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xemacs-21.5.29-etags-memmove-545399.patch of Package xemacs
diff -dur xemacs-21.5.29.ORIG/lib-src/ChangeLog xemacs-21.5.29/lib-src/ChangeLog --- xemacs-21.5.29.ORIG/lib-src/ChangeLog 2009-05-18 08:51:06.000000000 -0600 +++ xemacs-21.5.29/lib-src/ChangeLog 2009-12-08 10:09:57.753594714 -0700 @@ -1,3 +1,8 @@ +2009-12-08 Sjoerd Mullender <sjoerd@acm.org> + + * etags.c (absolute_filename): Use memmove instead of strcpy to move + characters within a string. + 2009-05-18 Stephen J. Turnbull <stephen@xemacs.org> * XEmacs 21.5.29 "garbanzo" is released. diff -dur xemacs-21.5.29.ORIG/lib-src/etags.c xemacs-21.5.29/lib-src/etags.c --- xemacs-21.5.29.ORIG/lib-src/etags.c 2009-05-18 08:51:06.000000000 -0600 +++ xemacs-21.5.29/lib-src/etags.c 2009-12-08 10:09:09.100592092 -0700 @@ -6829,13 +6829,13 @@ else if (cp[0] != '/') cp = slashp; #endif - strcpy (cp, slashp + 3); + memmove (cp, slashp + 3, strlen (slashp + 3) + 1); slashp = cp; continue; } else if (slashp[2] == '/' || slashp[2] == '\0') { - strcpy (slashp, slashp + 2); + memmove (slashp, slashp + 2, strlen (slashp + 2) + 1); 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