From 96ec67a7cf89a136e793305343c5bba8521cdb47 Mon Sep 17 00:00:00 2001 From: Przemysław Suliga Date: Sun, 6 Mar 2016 11:34:23 +0100 Subject: Fixed #26332 -- Fixed a race condition in BaseCache.get_or_set(). --- docs/releases/1.9.5.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/releases/1.9.5.txt b/docs/releases/1.9.5.txt index 211cbba6ba..d14b1ac98e 100644 --- a/docs/releases/1.9.5.txt +++ b/docs/releases/1.9.5.txt @@ -12,3 +12,7 @@ Bugfixes * Made ``MultiPartParser`` ignore filenames that normalize to an empty string to fix crash in ``MemoryFileUploadHandler`` on specially crafted user input (:ticket:`26325`). + +* Fixed a race condition in ``BaseCache.get_or_set()`` (:ticket:`26332`). It + now returns the ``default`` value instead of ``False`` if there's an error + when trying to add the value to the cache. -- cgit v1.3