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 X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5C061C433DF for ; Tue, 20 Oct 2020 06:54:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 08B9D22404 for ; Tue, 20 Oct 2020 06:54:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404579AbgJTGyA (ORCPT ); Tue, 20 Oct 2020 02:54:00 -0400 Received: from mx2.suse.de ([195.135.220.15]:39098 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729212AbgJTGyA (ORCPT ); Tue, 20 Oct 2020 02:54:00 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 63CCBACDB; Tue, 20 Oct 2020 06:53:59 +0000 (UTC) Date: Tue, 20 Oct 2020 08:53:57 +0200 From: Petr Vorel To: Lakshmi Ramasubramanian Cc: Mimi Zohar , linux-integrity@vger.kernel.org Subject: Re: [PATCH] file2bin: Pass the right values to size and count parameters for fread() Message-ID: <20201020065357.GA15734@dell5510> Reply-To: Petr Vorel References: <20201019200526.12678-1-nramas@linux.microsoft.com> <9dd83103f724484a8f1febb37b54616d136930fe.camel@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-integrity@vger.kernel.org Hi Lakshmi, > > Wasn't this problem addressed by Vitaly's patch. Please look at commit > > c89e8508864b ("ima-evm-utils: Fix reading of sigfile"). > You are right Mimi. I missed the patch posted by Vitaly. Sorry for the > duplicate one. > Looks like Vitaly's change hasn't been merged to "master" branch yet in > https://github.com/pevik/ima-evm-utils FYI: this is my fork, although I update it regularly, next time please check with the real upstream: https://git.code.sf.net/p/linux-ima/ima-evm-utils > thanks, > -lakshmi Kind regards, Petr