Skip to content
Snippets Groups Projects
Commit 96ca05d8 authored by Larry Garfield's avatar Larry Garfield Committed by Benni Mack
Browse files

[BUGFIX] Resolve type issues in SemaphoreLockStrategy

ftok() doesn't return false, but -1 on error.

The $resource property may be null to indicate no lock
is active, so allow that.

Resolves: #97644
Releases: main, 11.5
Change-Id: I88eb20b2399c119390c7e6c34c985a87706db4d3
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74696


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent 0fa97aac
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment