Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2
bash
bash-memmove.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bash-memmove.patch of Package bash
Author: Bernhard M. Wiedemann <bwiedemann suse de> Date: 2018-07-07 strcpy can cause corruption when working on overlapping strings so we use memmove instead that handles this case correctly Index: bash-4.4/support/man2html.c =================================================================== --- bash-4.4.orig/support/man2html.c +++ bash-4.4/support/man2html.c @@ -1992,7 +1993,7 @@ unescape (char *c) while (i < l && c[i]) { if (c[i] == '\a') { if (c[i+1]) - strcpy(c + i, c + i + 1); /* should be memmove */ + memmove(c + i, c + i + 1, strlen(c + i)); else { c[i] = '\0'; break;
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