source-sdk-2013 icon indicating copy to clipboard operation
source-sdk-2013 copied to clipboard

Data race in CUtlSymbolTableMT lookup.

Open RoyaleNoir opened this issue 1 week ago • 0 comments

CUtlSymbolTableMT::Find uses a read lock, where it should be using a write lock, as the function it is wrapping writes to a member variable of CUtlSymbolTable. This causes a race condition if two different threads attempt to look up a symbol in the same table.

RoyaleNoir avatar Feb 18 '25 21:02 RoyaleNoir