Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 49c2536

Browse filesBrowse files
committed
[Cache] Fix possible infinite loop in CachePoolPass
1 parent dd5902c commit 49c2536
Copy full SHA for 49c2536

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

‎src/Symfony/Component/Cache/DependencyInjection/CachePoolPass.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Cache/DependencyInjection/CachePoolPass.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ public function process(ContainerBuilder $container)
182182
}
183183

184184
$notAliasedCacheClearerId = $aliasedCacheClearerId = 'cache.global_clearer';
185-
while ($container->hasAlias('cache.global_clearer')) {
186-
$aliasedCacheClearerId = (string) $container->getAlias('cache.global_clearer');
185+
while ($container->hasAlias($aliasedCacheClearerId)) {
186+
$aliasedCacheClearerId = (string) $container->getAlias($aliasedCacheClearerId);
187187
}
188188
if ($container->hasDefinition($aliasedCacheClearerId)) {
189189
$clearers[$notAliasedCacheClearerId] = $allPools;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.