From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 61876 invoked by alias); 28 Sep 2018 13:11:48 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 61863 invoked by uid 89); 28 Sep 2018 13:11:47 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=0.9 required=5.0 tests=BAYES_40,FORGED_HOTMAIL_RCVD2,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 spammy=alert, ISP, isp, diverse X-HELO: EUR03-DB5-obe.outbound.protection.outlook.com Received: from mail-oln040092071033.outbound.protection.outlook.com (HELO EUR03-DB5-obe.outbound.protection.outlook.com) (40.92.71.33) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 28 Sep 2018 13:11:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=u9x/QXCoCPeCoyK4DVcT+YWIMx7tbjyz6t/vmJ0CJmM=; b=G125t2YKCXlaaIIh4CWqZgsSJ7Ceb/CPjknr+MPT/9/yANccmJE5kGvqPP6N3sQrIjtP5IcVAZfmgDVgE4gGnOcroX8RPhHR+LI7Po0j7y7CD1EdBi36ulB0T5e+HSiMqF82j+mcAJRP5vOiTe+vpYbwjKOqjR14Hs5+sIPb/Wyexgb3Mn3T8rHLn35X/3kVx/0Jk5Hpr+DAbdKkaJtpee0dC8IOwxO8TG7cFQGBB08BQa1xwDWG9srfR6gh1qsR3VXtOsinIuQ8vGo0BF0YKrUZDAW+pErA/90dLXeWmN0FhzPLHYiPcaodL1yjn5rADvZfXOD24TZUzcG0jA/Ssw== Received: from DB5EUR03FT047.eop-EUR03.prod.protection.outlook.com (10.152.20.52) by DB5EUR03HT234.eop-EUR03.prod.protection.outlook.com (10.152.21.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.1185.13; Fri, 28 Sep 2018 13:11:43 +0000 Received: from VI1P192MB0352.EURP192.PROD.OUTLOOK.COM (10.152.20.55) by DB5EUR03FT047.mail.protection.outlook.com (10.152.21.232) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.1185.13 via Frontend Transport; Fri, 28 Sep 2018 13:11:43 +0000 Received: from VI1P192MB0352.EURP192.PROD.OUTLOOK.COM ([fe80::a4ad:db15:32a2:f14c]) by VI1P192MB0352.EURP192.PROD.OUTLOOK.COM ([fe80::a4ad:db15:32a2:f14c%4]) with mapi id 15.20.1143.022; Fri, 28 Sep 2018 13:11:43 +0000 From: Paul Smith To: "crossgcc@sourceware.org" Subject: Possible file download bug? Date: Fri, 28 Sep 2018 13:11:00 -0000 Message-ID: received-spf: None (protection.outlook.com: hotmail.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=paul_d_smith@hotmail.com; MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-SW-Source: 2018-09/txt/msg00016.txt.bz2 Crossgcc, I wanted to alert you to a possible bug. I'm using someone else's product = that uses an old copy of Crossgcc and I've found the following issue, and f= rom looking at the latest Crossgcc code I suspect the same bug still exists. The issue is in scripts/functions in the code that downloads a file from th= e web using wget or curl. My local ISP 'catches' page load errors and retu= rns their own generated HTML error page and the bug I'm seeing results from= a file download believing it succeeded when actually it downloaded just a = dummy HTML page. In my case the files were always supposed to be variants on Linux tar files= so it easy to use the Linux 'file' command to see if the file was actually= an HTML page. I don't know whether you can do the same or whether the fil= es you are downloaded are more diverse and need more careful checking, perh= aps outside of the file download function. However I wanted to alert you to this odd behaviour as it soaked up a few h= ours this morning identifying the cause and a fix. Regards, Paul DS.