[Commits] [SCM] claws branch, master, updated. 4.2.0-93-gdeb164157
mones at claws-mail.org
mones at claws-mail.org
Sun May 12 19:31:17 UTC 2024
The branch, master has been updated
via deb164157879263fa2c12607f5b538bb4256dd83 (commit)
from afd8acf920272f1590fd6f5e441a27e2ac0f0678 (commit)
Summary of changes:
src/exportldif.c | 2 --
1 file changed, 2 deletions(-)
- Log -----------------------------------------------------------------
commit deb164157879263fa2c12607f5b538bb4256dd83
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