From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.204.155.88 with SMTP id r24cs467275bkw; Thu, 29 Jul 2010 21:59:24 -0700 (PDT) Received: by 10.220.125.4 with SMTP id w4mr758022vcr.171.1280465963064; Thu, 29 Jul 2010 21:59:23 -0700 (PDT) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id c6si1652709vcs.3.2010.07.29.21.59.22; Thu, 29 Jul 2010 21:59:22 -0700 (PDT) Received-SPF: pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-devel-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id F02A7197828C; Fri, 30 Jul 2010 00:59:21 -0400 (EDT) X-Greylist: delayed 482 seconds by postgrey-1.31 at rubyforge.org; Fri, 30 Jul 2010 00:44:55 EDT Received: from spinlock.commandprompt.com (host-215.commandprompt.net [207.173.203.215]) by rubyforge.org (Postfix) with ESMTP id 7BAC4167831B for ; Fri, 30 Jul 2010 00:44:55 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by spinlock.commandprompt.com (Postfix) with ESMTP id 06790348038 for ; Thu, 29 Jul 2010 21:36:52 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at commandprompt.com Received: from spinlock.commandprompt.com ([127.0.0.1]) by localhost (spinlock.commandprompt.com.commandprompt.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GAAGGiHnTfm9 for ; Thu, 29 Jul 2010 21:36:49 -0700 (PDT) Received: from perhan.alvh.no-ip.org (190-95-29-207.bk17-dsl.surnet.cl [190.95.29.207]) by spinlock.commandprompt.com (Postfix) with ESMTPSA id 9E024348002 for ; Thu, 29 Jul 2010 21:36:49 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 5F8C96E93F; Thu, 29 Jul 2010 23:09:04 -0400 (CLT) From: Alvaro Herrera To: sup-devel Date: Thu, 29 Jul 2010 23:09:04 -0400 Message-Id: <1280459186-sup-8579@alvh.no-ip.org> User-Agent: Sup/git Content-Transfer-Encoding: 8bit Content-Type: multipart/mixed; boundary="=-1280459344-767049-3588-4622-2-=" MIME-Version: 1.0 Subject: [sup-devel] Fix crash when opening attachment with slashes in filename X-BeenThere: sup-devel@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Sup developer discussion List-Id: Sup developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: sup-devel-bounces@rubyforge.org Errors-To: sup-devel-bounces@rubyforge.org --=-1280459344-767049-3588-4622-2-= Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Hi, This patch fixes a crash caused by trying to create a temp file with forward slashes. The fix is simple -- replace the slashes with a different char. I reported this as issue 105 on masanjin.net previously, but that's apparently dead now. -- Álvaro Herrera --=-1280459344-767049-3588-4622-2-= Content-Disposition: attachment; filename="msgchunks.diff" Content-Type: application/octet-stream; name="msgchunks.diff" Content-Transfer-Encoding: base64 RnJvbSBlYjI1ODk2ZTQ4NGY1OTk2M2VkN2M1ZjU0M2QwMGZhZDAzMWQwM2Qy IE1vbiBTZXAgMTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBBbHZhcm8gSGVycmVy YSA8YWx2aGVycmVAYWx2aC5uby1pcC5vcmc+CkRhdGU6IFRodSwgMjkgSnVs IDIwMTAgMjI6NTk6MjAgLTA0MDAKU3ViamVjdDogW1BBVENIXSBGaXggY3Jh c2ggb24gaGFuZGxpbmcgYXR0YWNobWVudCBmaWxlbmFtZSB3aXRoIHNsYXNo ZXMKCi0tLQogbGliL3N1cC9tZXNzYWdlLWNodW5rcy5yYiB8ICAgIDIgKy0K IDEgZmlsZXMgY2hhbmdlZCwgMSBpbnNlcnRpb25zKCspLCAxIGRlbGV0aW9u cygtKQoKZGlmZiAtLWdpdCBhL2xpYi9zdXAvbWVzc2FnZS1jaHVua3MucmIg Yi9saWIvc3VwL21lc3NhZ2UtY2h1bmtzLnJiCmluZGV4IGMyNzVmNDEuLmJl NDQxNmYgMTAwNjQ0Ci0tLSBhL2xpYi9zdXAvbWVzc2FnZS1jaHVua3MucmIK KysrIGIvbGliL3N1cC9tZXNzYWdlLWNodW5rcy5yYgpAQCAtMTQ5LDcgKzE0 OSw3IEBAIEVPUwogICAgIGVuZAogCiAgICAgZGVmIHdyaXRlX3RvX2Rpc2sK LSAgICAgIGZpbGUgPSBUZW1wZmlsZS5uZXcoQGZpbGVuYW1lIHx8ICJzdXAt YXR0YWNobWVudCIpCisgICAgICBmaWxlID0gVGVtcGZpbGUubmV3KEBmaWxl bmFtZS5nc3ViKCIvIiwgIl8iKSB8fCAic3VwLWF0dGFjaG1lbnQiKQogICAg ICAgZmlsZS5wcmludCBAcmF3X2NvbnRlbnQKICAgICAgIGZpbGUuY2xvc2UK ICAgICAgIGZpbGUucGF0aAotLSAKMS43LjEKCg== --=-1280459344-767049-3588-4622-2-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Sup-devel mailing list Sup-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-devel --=-1280459344-767049-3588-4622-2-=--