From 297930261ad806e519ce3e17e0c4973004982b1c Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Mon, 28 Mar 2022 23:04:12 +0300 Subject: [PATCH] msg-sexp: fix adding contacts std::array doesn't check its size... --- lib/mu-msg-sexp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mu-msg-sexp.cc b/lib/mu-msg-sexp.cc index 29ad5f94..e56cffb0 100644 --- a/lib/mu-msg-sexp.cc +++ b/lib/mu-msg-sexp.cc @@ -95,7 +95,7 @@ static void add_contacts(Sexp::List& list, MuMsg* msg) { using ContactPair = std::pair; - constexpr std::array contact_types = {{ + constexpr std::array contact_types = {{ { Field::Id::From, ":from" }, { Field::Id::To, ":to" }, { Field::Id::Cc, ":cc" },