From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A18CDECAAA1 for ; Tue, 30 Aug 2022 13:02:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229796AbiH3NC1 (ORCPT ); Tue, 30 Aug 2022 09:02:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229947AbiH3NC0 (ORCPT ); Tue, 30 Aug 2022 09:02:26 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9B5A6CF51 for ; Tue, 30 Aug 2022 06:02:25 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 86F2121AC7; Tue, 30 Aug 2022 13:02:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1661864544; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=lePurlzWR72axl1E8dO4XV3E3VcSWUy9pbMLfqktLNg=; b=sCuWkudJr41Kzo66/n4UiWfJXiUf/avjRKOybq04qLN2ndCkv2QI0XzS+HjwZTxylPjxWg 6ANpaUkzoRUdyjbtHD1bRqinMgTpQRsf5z1fuYIO1OoH7VhBhSkubTayY+27/nDh54+p1h zysiu+4ud8WymmGMJvsBWpeWvXYSpBU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1661864544; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=lePurlzWR72axl1E8dO4XV3E3VcSWUy9pbMLfqktLNg=; b=//N44J7Bld66eiffuvjUxqO7FaX6wr6+xe4MEbwDSueLLje3Mga6jKT+9eEoGaVJmEciWR JyLIGOvJibjFiWDQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 5708813B0C; Tue, 30 Aug 2022 13:02:24 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id zIJ7E2AKDmPvdQAAMHmgww (envelope-from ); Tue, 30 Aug 2022 13:02:24 +0000 Date: Tue, 30 Aug 2022 15:02:22 +0200 From: Petr Vorel To: Mimi Zohar Cc: linux-integrity@vger.kernel.org, Vitaly Chikunov , Stefan Berger Subject: Re: [RFC PATCH ima-evm-utils 07/11] Add missing EVP_MD_CTX_free() call in calc_evm_hash() Message-ID: Reply-To: Petr Vorel References: <20220830005936.189922-1-zohar@linux.ibm.com> <20220830005936.189922-8-zohar@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220830005936.189922-8-zohar@linux.ibm.com> Precedence: bulk List-ID: X-Mailing-List: linux-integrity@vger.kernel.org Hi Mimi, > When EVP_MD_CTX_new() call was added, the corresponding EVP_MD_CTX_free() > was never called. Properly free it. > Fixes: 81010f0d87ef ("ima-evm-utils: Add backward compatible support for openssl 1.1") Reviewed-by: Petr Vorel Kind regards, Petr