[Commits] [SCM] claws branch, gtk2, updated. 3.20.0-85-g9007c1fe3

mones at claws-mail.org mones at claws-mail.org
Sun May 12 19:31:17 UTC 2024


The branch, gtk2 has been updated
       via  9007c1fe3b3b46ebe4dc93ac2427d49f8f04ab19 (commit)
      from  7874a6e59e8394300520c1465896ca84d71f96be (commit)

Summary of changes:
 src/exportldif.c | 2 --
 1 file changed, 2 deletions(-)


- Log -----------------------------------------------------------------
commit 9007c1fe3b3b46ebe4dc93ac2427d49f8f04ab19
Author: Ricardo Mones <ricardo at mones.org>
Date:   Sun May 12 21:30:22 2024 +0200

    Fix CID 1591952: values overwritten before being used

diff --git a/src/exportldif.c b/src/exportldif.c
index c2cfab9e5..b9e3c2677 100644
--- a/src/exportldif.c
+++ b/src/exportldif.c
@@ -459,7 +459,6 @@ static gboolean exportldif_fmt_person(
 			ldif_write_value(
 				stream, LDIF_TAG_LASTNAME, sn );
 			g_free(sn);
-			sn = NULL;
 			ldif_write_value(
 				stream, LDIF_TAG_FIRSTNAME, person->firstName );
 
@@ -469,7 +468,6 @@ static gboolean exportldif_fmt_person(
 				displayName = g_strdup(person->nickName);
 			ldif_write_value(stream, LDIF_TAG_NICKNAME, displayName);
 			g_free(displayName);
-			displayName = NULL;
 
 			/* Format E-Mail */
 			exportldif_fmt_email( person, stream );

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list