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
Actions