Re: [PATCH] Add missing call to g_type_init()
authorDavid Bremner <david@tethera.net>
Sat, 10 Sep 2011 18:22:31 +0000 (15:22 +2100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:39:25 +0000 (09:39 -0800)
e1/56fd1d9237e7d4932e68cf0e2a85d79bf17851 [new file with mode: 0644]

diff --git a/e1/56fd1d9237e7d4932e68cf0e2a85d79bf17851 b/e1/56fd1d9237e7d4932e68cf0e2a85d79bf17851
new file mode 100644 (file)
index 0000000..f9bb6a2
--- /dev/null
@@ -0,0 +1,67 @@
+Return-Path: <bremner@unb.ca>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 875F9429E25\r
+       for <notmuch@notmuchmail.org>; Sat, 10 Sep 2011 11:22:35 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.3\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id Zqy62wy4QA4G for <notmuch@notmuchmail.org>;\r
+       Sat, 10 Sep 2011 11:22:35 -0700 (PDT)\r
+Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21])\r
+       (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 007B1431FB6\r
+       for <notmuch@notmuchmail.org>; Sat, 10 Sep 2011 11:22:34 -0700 (PDT)\r
+Received: from zancas.localnet\r
+       (fctnnbsc36w-156034073093.pppoe-dynamic.High-Speed.nb.bellaliant.net\r
+       [156.34.73.93]) (authenticated bits=0)\r
+       by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id p8AIMVfv023708\r
+       (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO);\r
+       Sat, 10 Sep 2011 15:22:32 -0300\r
+Received: from bremner by zancas.localnet with local (Exim 4.76)\r
+       (envelope-from <bremner@unb.ca>)\r
+       id 1R2SCF-0008GE-2G; Sat, 10 Sep 2011 15:22:31 -0300\r
+From: David Bremner <david@tethera.net>\r
+To: Aaron Ecay <aaronecay@gmail.com>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] Add missing call to g_type_init()\r
+In-Reply-To: <1311637138-13963-1-git-send-email-aaronecay@gmail.com>\r
+References: <87bowiccax.fsf@servo.factory.finestructure.net>\r
+       <1311637138-13963-1-git-send-email-aaronecay@gmail.com>\r
+User-Agent: Notmuch/0.8 (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Sat, 10 Sep 2011 15:22:31 -0300\r
+Message-ID: <87obyscl5k.fsf@zancas.localnet>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 10 Sep 2011 18:22:35 -0000\r
+\r
+On Mon, 25 Jul 2011 19:38:58 -0400, Aaron Ecay <aaronecay@gmail.com> wrote:\r
+> The Glib docs state "Prior to any use of the type system, g_type_init() has to\r
+> be called".[1] To not do so can lead to segfaults.  The g_type system is\r
+> currently used by various "filters" that operate on uuencoded text, message\r
+> headers, etc.\r
+> \r
+> [1] http://developer.gnome.org/gobject/2.28/gobject-Type-Information.html#g-type-init\r
+\r
+I have pushed this patch. Thanks for your contribution.\r
+\r
+d\r