Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
php-composer2
php-composer2-CVE-2024-35241.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php-composer2-CVE-2024-35241.patch of Package php-composer2
--- a/src/Composer/Downloader/GitDownloader.php +++ b/src/Composer/Downloader/GitDownloader.php @@ -290,7 +290,7 @@ if ($branchNotFoundError) { $unpushedChanges = null; } foreach ($remoteBranches as $remoteBranch) { -$command = sprintf('git diff --name-status %s...%s --', $remoteBranch, $branch); +$command = sprintf('git diff --name-status %s --', ProcessExecutor::escape($remoteBranch.'...'.$branch)); if (0 !== $this->process->execute($command, $output, $path)) { throw new \RuntimeException('Failed to execute ' . $command . "\n\n" . $this->process->getErrorOutput()); }
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