From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754601AbcB2O3Z (ORCPT ); Mon, 29 Feb 2016 09:29:25 -0500 Received: from mx1.redhat.com ([209.132.183.28]:43053 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750796AbcB2O3X (ORCPT ); Mon, 29 Feb 2016 09:29:23 -0500 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <1456577126-5351-1-git-send-email-colin.king@canonical.com> References: <1456577126-5351-1-git-send-email-colin.king@canonical.com> To: Colin King Cc: dhowells@redhat.com, Herbert Xu , "David S . Miller" , James Morris , Tadeusz Struk , Peter Jones , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] PKCS#7: fix unitialized boolean 'want' MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <6131.1456756160.1@warthog.procyon.org.uk> Date: Mon, 29 Feb 2016 14:29:20 +0000 Message-ID: <6132.1456756160@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Colin King wrote: > The boolean want is not initialized and hence garbage. The default should > be false (later it is only set to true on tne sinfo->authattrs check). > > Found with static analysis using CoverityScan > > Signed-off-by: Colin Ian King Applied.