From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 2D5EC3858D32 for ; Wed, 12 Apr 2023 18:06:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2D5EC3858D32 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gnu.org Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pmerp-0002rf-57; Wed, 12 Apr 2023 14:06:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From: Date; bh=aRQE8MmIGC12hkXQsd+xN7i+ACpJvzR9WNPHeMjl7q4=; b=ILPmNU5DPxXi0IB1FCLo qt9e+6mV6kW5UMb9tfAaYztPgzBFHjogHs+OK4L7rP8Gz3D0POTw/B16ERR1HuCZ1UIDFhvVTWesh CHuwuMp7pRofNljAELHDgPX3xadZvBeiQzkfrqnj2u3p6k1kD6UapiL5wsT57/kb5Iz44nCYllj8U GKO1hMEZOyp9TeLnT7/na5dbAQ3gC1qlAJ6sJX3eImvaSrHRjqEP/jEseKyonTMYjmIkTyaoQz9Qa oRsBlIpcTR8/gnu/lSg9PsExlq4qVyhRdVSFwvGsA0saCFV/M77xr0/YnAoISK+DhaQmjsO9Dr1Vw g1935Ig7xefG3Q==; Received: from [2a01:cb19:4a:a400:de41:a9ff:fe47:ec49] (helo=begin) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pmero-0005Ff-MO; Wed, 12 Apr 2023 14:06:48 -0400 Received: from samy by begin with local (Exim 4.96) (envelope-from ) id 1pmerm-007wqu-24; Wed, 12 Apr 2023 20:06:46 +0200 Date: Wed, 12 Apr 2023 20:06:46 +0200 From: Samuel Thibault To: Adhemerval Zanella Netto Cc: libc-alpha@sourceware.org, commit-hurd@gnu.org Subject: Re: [PATCH] aio: Fix freeing memory Message-ID: <20230412180646.vc6s6hfymo7m3fbl@begin> References: <20230411221533.317235-1-samuel.thibault@ens-lyon.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: I am not organized User-Agent: NeoMutt/20170609 (1.8.3) X-Spam-Status: No, score=-6.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS,TXREP 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: Adhemerval Zanella Netto, le mer. 12 avril 2023 09:39:00 -0300, a ecrit: > On 11/04/23 19:15, Samuel Thibault wrote: > > The content of the pool array is initialized only until pool_size, > > pointers between pool_size and pool_max_size were not initialized by the > > realloc call in get_elem so they should not be freed. > > > > This fixes aio tests crashing at their termination on GNU/Hurd. > > LGTM, thanks. > > Reviewed-by: Adhemerval Zanella Pushed, thanks! Ah, only then I realize that I should have added your review tag, sorry! Samuel