From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gnu.wildebeest.org (gnu.wildebeest.org [45.83.234.184]) by sourceware.org (Postfix) with ESMTPS id 59A2C3858C60 for ; Tue, 7 Dec 2021 08:53:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 59A2C3858C60 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=klomp.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=klomp.org Received: from tarox.wildebeest.org (83-87-18-245.cable.dynamic.v4.ziggo.nl [83.87.18.245]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id E1AFA300071C; Tue, 7 Dec 2021 09:53:03 +0100 (CET) Received: by tarox.wildebeest.org (Postfix, from userid 1000) id CA328413CC9A; Tue, 7 Dec 2021 09:53:02 +0100 (CET) Message-ID: <5595f1b09c993443d9ecad005d4c180eba6a0908.camel@klomp.org> Subject: Re: [PATCH] debuginfod: Clear and reset debuginfod_client winning_headers on reuse From: Mark Wielaard To: "Frank Ch. Eigler" Cc: elfutils-devel@sourceware.org Date: Tue, 07 Dec 2021 09:53:02 +0100 In-Reply-To: <20211206184149.GC31081@redhat.com> References: <20211204215403.277463-1-mark@klomp.org> <20211206184149.GC31081@redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Evolution 3.28.5 (3.28.5-10.el7) Mime-Version: 1.0 X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: elfutils-devel@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Elfutils-devel mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2021 08:53:08 -0000 Hi Frank, On Mon, 2021-12-06 at 13:41 -0500, Frank Ch. Eigler wrote: > gcc address sanitizer detected a leak of the debuginfod_client > > winning_headers when the handle was reused. Make sure to free and > > reset the winning_headers field before reuse. >=20 > This is good. Thanks, pushed. Cheers, Mark