Bug #44471

Apc Cache backend has side effects

Added by Tymoteusz Motylewski almost 7 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Should have
Category:
Cache
Start date:
2013-01-11
Due date:
% Done:

100%

PHP Version:
Has patch:
No
Complexity:

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!
see:
http://forge.typo3.org/issues/38135
and patch
https://review.typo3.org/#/c/12145/8


Related issues

Related to TYPO3 Core - Bug #38135: Apc Cache backend has side effects Closed 2012-06-17

Associated revisions

Revision b09ea995 (diff)
Added by Karsten Dambekalns over 6 years ago

[BUGFIX] Avoid side effects in APC cache backend

When more than one cache was using the APC cache backend, use of the
same entry identifiers would cause side effects, as the frontends would
access the same entries.

This is fixed by including the cache identifier in the prefix hash.

Change-Id: I50fe007c97eefebbb6eb801c53d62e55729665a4
Fixes: #44471
Related: #38135
Releases: master, 2.0, 1.1

Revision 84d3271e (diff)
Added by Karsten Dambekalns over 6 years ago

[BUGFIX] Avoid side effects in APC cache backend

When more than one cache was using the APC cache backend, use of the
same entry identifiers would cause side effects, as the frontends would
access the same entries.

This is fixed by including the cache identifier in the prefix hash.

Change-Id: I50fe007c97eefebbb6eb801c53d62e55729665a4
Fixes: #44471
Related: #38135
Releases: master, 2.0, 1.1

History

#1 Updated by Karsten Dambekalns almost 7 years ago

  • Category set to Cache
  • Status changed from New to Accepted
  • Assignee set to Karsten Dambekalns
  • Target version set to 2.0

#2 Updated by Karsten Dambekalns almost 7 years ago

  • Status changed from Accepted to Under Review

#3 Updated by Gerrit Code Review over 6 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/17522

#4 Updated by Gerrit Code Review over 6 years ago

Patch set 1 for branch 2.0 has been pushed to the review server.
It is available at https://review.typo3.org/19575

#5 Updated by Gerrit Code Review over 6 years ago

Patch set 1 for branch FLOW3-1.1 has been pushed to the review server.
It is available at https://review.typo3.org/19578

#6 Updated by Karsten Dambekalns over 6 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF