close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23450 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1872,6 +1872,7 @@ _krb5_parse_moduli(krb5_context context, const char *file,
|
|||||||
*moduli = m;
|
*moduli = m;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
rk_cloexec_file(f);
|
||||||
|
|
||||||
while(fgets(buf, sizeof(buf), f) != NULL) {
|
while(fgets(buf, sizeof(buf), f) != NULL) {
|
||||||
struct krb5_dh_moduli *element;
|
struct krb5_dh_moduli *element;
|
||||||
|
Reference in New Issue
Block a user