diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-04-18 10:32:15 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-04-20 21:50:28 +0200 |
commit | 62a59854f0478130c23bc7b8bbf4064b38bbeaf8 (patch) | |
tree | 0d2101e019491d560560d36ca9700e2e016801e8 /tests | |
parent | 85d809c0d3cda16e9ef12f57c4225c868b17915b (diff) | |
download | nextcloud-server-62a59854f0478130c23bc7b8bbf4064b38bbeaf8.tar.gz nextcloud-server-62a59854f0478130c23bc7b8bbf4064b38bbeaf8.zip |
Fix LDAP race conditions
* getFromCache is wrapped in isCached
* inbetween the two calls the cache entry hits it's TTL
* getFromCache returns null
* this fix only checkes if the returned value is null and
return only non-null values
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions