Check map data in cache has key before access 14/274914/1
authorIlho Kim <ilho159.kim@samsung.com>
Thu, 12 May 2022 03:35:01 +0000 (12:35 +0900)
committerIlho Kim <ilho159.kim@samsung.com>
Thu, 12 May 2022 03:35:01 +0000 (12:35 +0900)
commitddee800ea569b7b5593d2000ad4de4152b04e04c
treed3f646e256657c4a7b1da67c0b0935feb1af94d7
parenta4069e63d25f2095daf6275523f72fe60b54c933
Check map data in cache has key before access

map's operator[] can modify it's data
it can cause problem in multithreaded environments

Change-Id: I2aa75be1ae70a675e6875039a25af0243a1eeb90
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
src/server/database/db_handle_provider.cc