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 886A4385457A for ; Mon, 21 Nov 2022 17:22:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 886A4385457A 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 AB709301AB1E for ; Mon, 21 Nov 2022 18:22:56 +0100 (CET) Received: by tarox.wildebeest.org (Postfix, from userid 1000) id C996A403B331; Mon, 21 Nov 2022 18:22:55 +0100 (CET) Message-ID: <87e35a962218ed5c1d1a792354154d2e758bae5f.camel@klomp.org> Subject: Re: [PATCH] debuginfod: Initialize response_data early in debuginfod-client query From: Mark Wielaard To: elfutils-devel@sourceware.org Date: Mon, 21 Nov 2022 18:22:55 +0100 In-Reply-To: <20221115165540.26020-1-mark@klomp.org> References: <20221115165540.26020-1-mark@klomp.org> 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=-3032.9 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi, On Tue, 2022-11-15 at 17:55 +0100, Mark Wielaard wrote: > On error going to out2, the response_data is freed. So initialize the > response_data to NULL immediately after allocation or when going back > to query_in_parallel. Frank on irc said this looked fine. Pushed, Mark