Projects
Mega:24.03:SP1:Everything
lvm2
_service:tar_scm:0005-bugfix-fix-the-code-maybe...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:0005-bugfix-fix-the-code-maybe-lead-to-buffer-over-bound-access.patch of Package lvm2
diff --git a/tools/command.c b/tools/command.c index 50791b1..3270b26 100644 --- a/tools/command.c +++ b/tools/command.c @@ -1375,7 +1375,7 @@ static int _copy_line(char *line, int max_line, int *position) memset(line, 0, max_line); - while (1) { + while ( p < strlen(_command_input) ) { line[i] = _command_input[p]; i++; p++;
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