From 0a2fa484da998e2d6e52d08cd44d1f9e7f8a5c29 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Wed, 19 Feb 2025 23:20:57 -0500 Subject: [SharedCache] Don't crash if we have a different metadata version Also we now initialize m_cacheInfo when calling `DeserializeFromRawView` the responsibility is on the caller to handle --- view/sharedcache/core/SharedCache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/sharedcache/core/SharedCache.h') diff --git a/view/sharedcache/core/SharedCache.h b/view/sharedcache/core/SharedCache.h index c78ad554..97da0880 100644 --- a/view/sharedcache/core/SharedCache.h +++ b/view/sharedcache/core/SharedCache.h @@ -585,7 +585,7 @@ namespace SharedCacheCore { private: void PerformInitialLoad(std::lock_guard&); - void DeserializeFromRawView(std::lock_guard&); + bool DeserializeFromRawView(std::lock_guard&); public: std::shared_ptr GetVMMap(); -- cgit v1.3.1