From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 7B10B385773F for ; Fri, 7 Jul 2023 17:21:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7B10B385773F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1688750518; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=FLS4mF+3OMiR2CdW6oKA/qilbVmpXXAI9VzcZujczUo=; b=LR9GDL8zQjjBNAahn/UPlFA7X3ISqsj7NK6t3AUSVE7gAdrJ1waNcp53EUMKrFdoy3Bh0Z ebtx1088AD2lXiuEvBlOcgQ65VifA/4AVeZ+8KiSLCByRAjvceCUM3dnyi5+/qMhh0c7ub QWHMGyiCtS4EL9mQk8S5c+hi1iULej8= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-7-jPCtVv_aPl2fd6HeKGWKvA-1; Fri, 07 Jul 2023 13:21:56 -0400 X-MC-Unique: jPCtVv_aPl2fd6HeKGWKvA-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 89B938028B2 for ; Fri, 7 Jul 2023 17:21:56 +0000 (UTC) Received: from oak (unknown [10.22.16.182]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 67F7D2166B25 for ; Fri, 7 Jul 2023 17:21:56 +0000 (UTC) Date: Fri, 7 Jul 2023 13:21:53 -0400 From: Joe Simmons-Talbott To: libc-alpha@sourceware.org Subject: Re: [PATCH v5] vfprintf-internal: Get rid of alloca. Message-ID: <20230707172111.GE6392@oak> References: <20230620132644.2984023-1-josimmon@redhat.com> MIME-Version: 1.0 In-Reply-To: <20230620132644.2984023-1-josimmon@redhat.com> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-5.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Tue, Jun 20, 2023 at 09:26:44AM -0400, Joe Simmons-Talbott wrote: > Avoid potential stack overflow from unbounded alloca. Use the existing > scratch_buffer instead. > > Add a testcase to exercise the code as suggested by Adhemerval Zanella Netto. > --- > Changes to v4: > * Rebased to latest commits. Ping. Thanks, Joe