From bebbf141c339230039732090d9f5c176752ae973 Mon Sep 17 00:00:00 2001 From: Frank Lahm Date: Sun, 30 May 2010 18:00:18 +0200 Subject: [PATCH] signature is not malloced, so don't free it --- NEWS | 6 ++++++ etc/afpd/afp_options.c | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index e013d6ce..79eb2147 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,9 @@ +Changes in 2.1.2 +================ + +* FIX: afpd: fix for possible crash in case more then one server is + configured in afpd.conf. + Changes in 2.1.1 ================ diff --git a/etc/afpd/afp_options.c b/etc/afpd/afp_options.c index ebc9a653..057a1a32 100644 --- a/etc/afpd/afp_options.c +++ b/etc/afpd/afp_options.c @@ -137,8 +137,6 @@ void afp_options_free(struct afp_options *opt, free(opt->passwdfile); if (opt->signatureopt && (opt->signatureopt != save->signatureopt)) free(opt->signatureopt); - if (opt->signature && (opt->signature != save->signature)) - free(opt->signature); if (opt->k5service && (opt->k5service != save->k5service)) free(opt->k5service); if (opt->k5realm && (opt->k5realm != save->k5realm)) -- 2.39.2