https://github.com/mongodb/mongo/blob/master/src/mongo/db/security_common.cpp#L44
setUpSecurityKey reads the keyfile, but leaks the filedescriptor when the function ends. We should close the file after reading its value.
https://github.com/mongodb/mongo/blob/master/src/mongo/db/security_common.cpp#L44
setUpSecurityKey reads the keyfile, but leaks the filedescriptor when the function ends. We should close the file after reading its value.