The md5sumFile shell utility method contains a bug that leaked memory due to not closing the file descriptor.
No server impact, but could potentially cause memory exhaustion on the client if repeated often enough.
Close the file handle when the file cannot be opened before exiting the block.
All recent production releases up to version 2.4.9 are affected.
The fix is included in the 2.4.10 production release and the 2.5.5 development release, which will evolve into the 2.6.0 production release.
A new defect has been detected and assigned to sverch in Coverity Connect http://coverity.mongodb.com//sourcebrowser.htm?projectId=10001#mergedDefectId=10177
The defect was flagged by checker RESOURCE_LEAK in
function mongo::shell_utils::md5sumFile(const mongo::BSONObj &, void *)
and this ticket was created by firstname.lastname@example.org