From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-4.9 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id E9E281F8C6 for ; Mon, 13 Sep 2021 13:17:08 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3942E3857429 for ; Mon, 13 Sep 2021 13:17:07 +0000 (GMT) Received: from cadetblue.ash.relay.mailchannels.net (cadetblue.ash.relay.mailchannels.net [23.83.222.28]) by sourceware.org (Postfix) with ESMTPS id 727A13857823 for ; Mon, 13 Sep 2021 13:16:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 727A13857823 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=gotplt.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gotplt.org X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 421292E1801; Mon, 13 Sep 2021 13:16:16 +0000 (UTC) Received: from pdx1-sub0-mail-a67.g.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id F07F72E1ABC; Mon, 13 Sep 2021 13:16:00 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org Received: from pdx1-sub0-mail-a67.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.100.96.79 (trex/6.4.3); Mon, 13 Sep 2021 13:16:16 +0000 X-MC-Relay: Junk X-MailChannels-SenderId: dreamhost|x-authsender|siddhesh@gotplt.org X-MailChannels-Auth-Id: dreamhost X-Battle-Duck: 4deec26069268a22_1631538966161_2263813034 X-MC-Loop-Signature: 1631538966161:3789309575 X-MC-Ingress-Time: 1631538966161 Received: from pdx1-sub0-mail-a67.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a67.g.dreamhost.com (Postfix) with ESMTP id 596BD7EF5A; Mon, 13 Sep 2021 06:16:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gotplt.org; h=subject:to :references:from:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; s=gotplt.org; bh=i4c7YX eTSGCVr3CrHsNq+9gETr8=; b=BBEpyMKuo/sC/k7xLrdfOXxRCa5yVvIME4sLK/ pfyVoE7SSLdS0+6a3uodb1y/XIqJIv5lVNF+zOtIVyMlpMxScL62LDr4bFx5I5W4 XP09Zg+AKHmrNhdP8RhMNoCJyYZhZLbFtOnIBYxHPy5F34WAfJqN4Gj/jcOuF9JD EmrLw= Received: from [192.168.1.167] (unknown [1.186.224.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: siddhesh@gotplt.org) by pdx1-sub0-mail-a67.g.dreamhost.com (Postfix) with ESMTPSA id 67DF87ECE8; Mon, 13 Sep 2021 06:15:58 -0700 (PDT) Subject: Re: [PATCH v5] io: Fix ftw internal realloc buffer (BZ #28126) To: Adhemerval Zanella , libc-alpha@sourceware.org References: <20210907123352.132575-1-adhemerval.zanella@linaro.org> X-DH-BACKEND: pdx1-sub0-mail-a67 From: Siddhesh Poyarekar Message-ID: Date: Mon, 13 Sep 2021 18:45:53 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210907123352.132575-1-adhemerval.zanella@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+e=80x24.org@sourceware.org Sender: "Libc-alpha" On 9/7/21 6:03 PM, Adhemerval Zanella via Libc-alpha wrote: > The 106ff08526d3ca did not take in consideration the buffer might be > reallocated if the total path is larger than PATH_MAX. The realloc > uses 'dirbuf', where 'dirstreams' is the allocated buffer. > > Checked on x86_64-linux-gnu. The new test seems to be failing on i686: https://www.delorie.com/trybots/32bit/2760/io-tst-ftw-bz28126.out Siddhesh