diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2021-10-07 15:32:19 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2021-10-07 15:32:19 -0400 |
commit | 6e06d1db6045df2e4961243f379c4d7695a8190d (patch) | |
tree | 6586ce499d85b94ac3238238108d4917e789cc9d /indra/llcommon/llsdjson.cpp | |
parent | b554c9eaf45c83500e6b65e295cc507b9a3d537b (diff) |
SL-16024: Make LLCond::get() lock and return by value.
Its previous behavior, returning a const reference without locking, was wrong:
it could return a reference to an object in an inconsistent state if it was
concurrently being modified on another thread.
Locking the mutex and returning a copy by value is the correct behavior.
Diffstat (limited to 'indra/llcommon/llsdjson.cpp')
0 files changed, 0 insertions, 0 deletions