dovecot-1.1: squat: Potential crashfix with mmap_disable=yes.
dovecot at dovecot.org
dovecot at dovecot.org
Fri Jun 20 11:54:39 EEST 2008
details: http://hg.dovecot.org/dovecot-1.1/rev/2c279e5e1cb9
changeset: 7700:2c279e5e1cb9
user: Timo Sirainen <tss at iki.fi>
date: Fri Jun 20 11:54:35 2008 +0300
description:
squat: Potential crashfix with mmap_disable=yes.
diffstat:
1 file changed, 2 insertions(+)
src/plugins/fts-squat/squat-trie.c | 2 ++
diffs (12 lines):
diff -r ca97501642c5 -r 2c279e5e1cb9 src/plugins/fts-squat/squat-trie.c
--- a/src/plugins/fts-squat/squat-trie.c Fri Jun 20 11:40:52 2008 +0300
+++ b/src/plugins/fts-squat/squat-trie.c Fri Jun 20 11:54:35 2008 +0300
@@ -546,6 +546,8 @@ node_read_children(struct squat_trie *tr
data = CONST_PTR_OFFSET(trie->data, offset);
end = CONST_PTR_OFFSET(trie->data,
trie->data_size);
+ child_chars = CONST_PTR_OFFSET(trie->data,
+ node_offset + 1);
}
if ((size_t)(end - data) < len) {
More information about the dovecot-cvs
mailing list