From 076219645b894e0e693c82d5d3e46e3befa9ddb2 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Apr 16 2021 22:13:49 +0000 Subject: Apply patch autofs-5.1.4-fix-use-after-free-in-parse_ldap_config.patch patch_name: autofs-5.1.4-fix-use-after-free-in-parse_ldap_config.patch present_in_specfile: true --- diff --git a/CHANGELOG b/CHANGELOG index 62841b5..afcc567 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -33,6 +33,7 @@ xx/xx/2018 autofs-5.1.5 - set bind mount as propagation slave. - add master map pseudo options for mount propagation. - fix age setting at startup. +- fix use after free in parse_ldap_config(). 19/12/2017 autofs-5.1.4 - fix spec file url. diff --git a/modules/lookup_ldap.c b/modules/lookup_ldap.c index 06c9697..911a34a 100644 --- a/modules/lookup_ldap.c +++ b/modules/lookup_ldap.c @@ -1383,8 +1383,6 @@ auth_fail: user, secret ? "specified" : "unspecified", client_princ, client_cc); } - if (authtype) - free(authtype); out: xmlFreeDoc(doc); if (auth_conf)