Actions
Bug #57347
closedRGWEnv::get() is using nullptr as a default value to the default returned value
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Description
when the returned value is being dereferenced, this may cause a crash or undefined behavior (e.g. when passed to "cout").
we should either return an empty string as default instead or check if the returned value is not null.
coverity CIDs: 1510310, 1510928, 1511097, 1511555, 1511760, 1511951, 1512003, 1512138, 1512398
Updated by Mohamed Awnallah about 1 year ago
Updated by Yuval Lifshitz about 1 year ago
- Status changed from New to Fix Under Review
- Pull request ID set to 50330
Updated by Mykola Golub 8 months ago
- Status changed from Fix Under Review to Resolved
Actions