1 Return-Path: <dkg@fifthhorseman.net>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 84285429E29
\r
6 for <notmuch@notmuchmail.org>; Tue, 10 May 2011 09:25:42 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id gn6vu536LEhu for <notmuch@notmuchmail.org>;
\r
16 Tue, 10 May 2011 09:25:42 -0700 (PDT)
\r
17 Received: from che.mayfirst.org (che.mayfirst.org [209.234.253.108])
\r
18 by olra.theworths.org (Postfix) with ESMTP id 0CCAF429E27
\r
19 for <notmuch@notmuchmail.org>; Tue, 10 May 2011 09:25:42 -0700 (PDT)
\r
20 Received: from pip.fifthhorseman.net (lair.fifthhorseman.net
\r
21 [216.254.116.241]) by che.mayfirst.org (Postfix) with ESMTPSA id 5EFE1F970;
\r
22 Tue, 10 May 2011 12:25:39 -0400 (EDT)
\r
23 Received: by pip.fifthhorseman.net (Postfix, from userid 1000)
\r
24 id EF62D11883; Tue, 10 May 2011 12:25:33 -0400 (EDT)
\r
25 From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
\r
26 To: notmuch@notmuchmail.org
\r
27 Subject: [PATCH] avoid segfault when calling sanitize_string() on NULL
\r
28 Date: Tue, 10 May 2011 12:25:32 -0400
\r
29 Message-Id: <1305044732-13882-1-git-send-email-dkg@fifthhorseman.net>
\r
30 X-Mailer: git-send-email 1.7.4.4
\r
31 X-BeenThere: notmuch@notmuchmail.org
\r
32 X-Mailman-Version: 2.1.13
\r
34 List-Id: "Use and development of the notmuch mail system."
\r
35 <notmuch.notmuchmail.org>
\r
36 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
37 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
38 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
39 List-Post: <mailto:notmuch@notmuchmail.org>
\r
40 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
41 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
42 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
43 X-List-Received-Date: Tue, 10 May 2011 16:25:42 -0000
\r
46 notmuch-search.c | 3 +++
\r
47 1 files changed, 3 insertions(+), 0 deletions(-)
\r
49 diff --git a/notmuch-search.c b/notmuch-search.c
\r
50 index 794b145..26b24eb 100644
\r
51 --- a/notmuch-search.c
\r
52 +++ b/notmuch-search.c
\r
53 @@ -116,6 +116,9 @@ sanitize_string (const void *ctx, const char *str)
\r
60 loop = out = talloc_strdup (ctx, str);
\r
62 for (; *loop; loop++) {
\r