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 41B673858D28 for ; Sat, 14 May 2022 13:14:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 41B673858D28 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 reform (deer0x07.wildebeest.org [172.31.17.137]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id 24657302BBEC for ; Sat, 14 May 2022 15:14:45 +0200 (CEST) Received: by reform (Postfix, from userid 1000) id 101532E810E1; Sat, 14 May 2022 15:14:29 +0200 (CEST) Date: Sat, 14 May 2022 15:14:29 +0200 From: Mark Wielaard To: elfutils-devel@sourceware.org Subject: Re: [PATCH] elfcompress: Add sanity checks to make sure to not override variable Message-ID: References: <20220510103501.30432-1-mark@klomp.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220510103501.30432-1-mark@klomp.org> X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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: Sat, 14 May 2022 13:14:51 -0000 Hi, On Tue, May 10, 2022 at 12:35:01PM +0200, Mark Wielaard wrote: > The process_file code is a little tricky. Add sanity checks to make > sure shstrtab_name, shstrtab_newname and symstrents are only set once. Pushed. Cheers, Mark