-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
ALL
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Value returned from a function is not checked for errors before being used
Defect 72681 (STATIC_C)
Checker CHECKED_RETURN (subcategory none)
File: /src/mongo/util/time_support.cpp
Function mongo::<unnamed>::_dateToISOString(mongo::Date_t, bool, mongo::<unnamed>::DateStringBuffer *)
/src/mongo/util/time_support.cpp, line: 232
Calling "strftime" without checking return value (as is done elsewhere 3 out of 4 times).
strftime(cur, bufRemaining, "%z", &t);