From 68108817054d3a88e52fe2f8d9a118b4b26f6e26 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Fri, 20 May 2022 09:46:39 -0300 Subject: [PATCH] lib: fix uninitialized field in message objects. Initially reported by Eliza Vasquez [1] (via valgrind). [1]: id:87o7zxj086.fsf@eliza. --- lib/message.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/message.cc b/lib/message.cc index 63b216b6..bd3cb5af 100644 --- a/lib/message.cc +++ b/lib/message.cc @@ -169,6 +169,7 @@ _notmuch_message_create_for_document (const void *talloc_owner, message->doc = doc; message->termpos = 0; + message->modified = FALSE; return message; }