Bug #38135
closedApc Cache backend has side effects
100%
Description
If two caches use the APC cache backend, one cache can write and get entries from the other by just using the same key!
Patch:
--- a/t3lib/cache/backend/class.t3lib_cache_backend_apcbackend.php +++ b/t3lib/cache/backend/class.t3lib_cache_backend_apcbackend.php @@ -87,7 +87,7 @@ class t3lib_cache_backend_ApcBackend extends t3lib_cache_backend_AbstractBackend public function setCache(t3lib_cache_frontend_Frontend $cache) { parent::setCache($cache); $processUser = extension_loaded('posix') ? posix_getpwuid(posix_geteuid()) : array('name' => 'default'); - $pathHash = t3lib_div::shortMD5(PATH_site . $processUser['name'] . $this->context, 12); + $pathHash = t3lib_div::shortMD5(PATH_site . $processUser['name'] . $this->context . $cache->getIdentifier(), 12); $this->identifierPrefix = 'TYPO3_' . $pathHash; }
Updated by Gerrit Code Review over 12 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12145
Updated by Gerrit Code Review over 12 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12145
Updated by Gerrit Code Review over 12 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12145
Updated by Gerrit Code Review over 12 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12145
Updated by Gerrit Code Review over 12 years ago
Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12145
Updated by Gerrit Code Review over 12 years ago
Patch set 6 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12145
Updated by Gerrit Code Review almost 12 years ago
Patch set 7 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12145
Updated by Gerrit Code Review almost 12 years ago
Patch set 8 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12145
Updated by Ernesto Baschny almost 12 years ago
Please note that this class is a direct backport from the TYPO3 Flow Cache class. So consider reporting the issue there also and pointing here, so that a potentially approved fix can be forward ported.
Updated by Tymoteusz Motylewski almost 12 years ago
I've added an issue on flow bug tracker
http://forge.typo3.org/issues/44471
Updated by Gerrit Code Review almost 12 years ago
Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/17470
Updated by Gerrit Code Review almost 12 years ago
Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at https://review.typo3.org/17471
Updated by Gerrit Code Review almost 12 years ago
Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at https://review.typo3.org/17472
Updated by Daniel Poetzinger almost 12 years ago
- Status changed from Under Review to Resolved
- % Done changed from 90 to 100
Applied in changeset ff81594406ea73c0163b35b5c99b9c0ce202c393.
Updated by Gerrit Code Review almost 12 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at https://review.typo3.org/17473
Updated by Gerrit Code Review almost 12 years ago
Patch set 2 for branch TYPO3_4-5 has been pushed to the review server.
It is available at https://review.typo3.org/17473
Updated by Gerrit Code Review almost 12 years ago
Patch set 3 for branch TYPO3_4-5 has been pushed to the review server.
It is available at https://review.typo3.org/17473
Updated by Daniel Poetzinger almost 12 years ago
- Status changed from Under Review to Resolved
Applied in changeset 86c97eebfe14f8ca5291d3f0899f84b4e80b93a0.
Updated by Gerrit Code Review almost 12 years ago
- Status changed from Resolved to Under Review
Patch set 4 for branch TYPO3_4-5 has been pushed to the review server.
It is available at https://review.typo3.org/17473
Updated by Daniel Poetzinger almost 12 years ago
- Status changed from Under Review to Resolved
Applied in changeset 306b134c0eb2d2287924515ef1652bbdf8a52aae.
Updated by Andreas Kienast almost 7 years ago
- Related to Bug #83470: Translations can be dragged to default column (in page module -> language) added
Updated by Andreas Kienast almost 7 years ago
- Related to deleted (Bug #83470: Translations can be dragged to default column (in page module -> language))