You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ed92f32
Browse filesBrowse the repository at this point in the historyBrowse files
add Blackboard::getKeyNames() and deprecate getKeys()
getKeys() returns StringViews into the keys of the storage map, valid only
while the storage lock is held, i.e. never for the caller. ExportBlackboardToJSON
built a std::string from them while another thread could unset() the entry:
heap-use-after-free (Groot2 thread vs UnsetBlackboard on the tick thread).
getKeyNames() returns copies made under the lock. getKeys() is unchanged but
deprecated, so the change is purely additive (no ABI/API break).
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
0 commit comments