Actions
Bug #57325
closedmemory issues in newDBStore()
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Description
in: rgw_sal_dbstore.cc
1. unless we have an overloaded "new" operator for rgw::sal::DBStore, we should not check for successful allocations (we should always crash on OOM instead)
2. we dereference "db" even if we get null values from: dbsm->getDB()
3. we may pass freed memory of "dbsm" to setDBStoreManager()
coverity CID 1511420
Updated by Soumya Koduri over 1 year ago
- Status changed from New to Fix Under Review
- Pull request ID set to 47970
Updated by Casey Bodley over 1 year ago
- Status changed from Fix Under Review to Resolved
Actions