dovecot-2.2: lib: file_create_locked() may have leaked memory on...
dovecot at dovecot.org
dovecot at dovecot.org
Sun Sep 13 13:43:43 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/9ce9bd7fba83
changeset: 19145:9ce9bd7fba83
user: Timo Sirainen <tss at iki.fi>
date: Sun Sep 13 16:42:32 2015 +0300
description:
lib: file_create_locked() may have leaked memory on some race conditions.
diffstat:
src/lib/file-create-locked.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 29249b209deb -r 9ce9bd7fba83 src/lib/file-create-locked.c
--- a/src/lib/file-create-locked.c Sat Sep 12 13:00:58 2015 +0300
+++ b/src/lib/file-create-locked.c Sun Sep 13 16:42:32 2015 +0300
@@ -76,6 +76,7 @@
*error_r = t_strdup_printf("link(%s, %s) failed: %m",
str_c(temp_path), path);
}
+ file_lock_free(lock_r);
} else {
i_unlink_if_exists(str_c(temp_path));
*fd_r = fd;
More information about the dovecot-cvs
mailing list