Actions
Bug #58287
openrgwlc/notifications: initialize object state before accessing object size for use in notify
% Done:
0%
Source:
Tags:
lifecycle notification backport_processed
Backport:
pacific quincy reef
Regression:
No
Severity:
3 - minor
Reviewed:
Description
In remove_expired_obj(...), the value of obj->get_obj_size() is sent as the value for object size by the corresponding notification, but that is guaranteed to be 0 if obj->get_obj_state(...) has not been previously called (it hasn't).
This results in lc notifies sending 0 uniformly for obj_size, rather than the stored size.
Actions