Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
Fully Compatible
-
ALL
-
Platform 9 (09/18/15)
Description
Value returned from a function is not checked for errors before being used
Defect 72817 (STATIC_C)
Checker CHECKED_RETURN (subcategory none)
File: /src/mongo/util/debugger.cpp
Function mongo::breakpoint()
/src/mongo/util/debugger.cpp, line: 52
Calling "sigaction" without checking return value (as is done elsewhere 15 out of 17 times).
sigaction(SIGTRAP, NULL, ¤t);
|