close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23458 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -696,6 +696,7 @@ read_conf_file(const char *fn, CK_USER_TYPE userType, const char *pin)
|
||||
st_logf("can't open configuration file %s\n", fn);
|
||||
return CKR_GENERAL_ERROR;
|
||||
}
|
||||
rk_cloexec_file(f);
|
||||
|
||||
while(fgets(buf, sizeof(buf), f) != NULL) {
|
||||
buf[strcspn(buf, "\n")] = '\0';
|
||||
|
Reference in New Issue
Block a user