From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932452AbcDFNJ3 (ORCPT ); Wed, 6 Apr 2016 09:09:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56425 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932341AbcDFNJ1 (ORCPT ); Wed, 6 Apr 2016 09:09:27 -0400 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: <1458685957-13369-1-git-send-email-colin.king@canonical.com> References: <1458685957-13369-1-git-send-email-colin.king@canonical.com> To: Colin King Cc: dhowells@redhat.com, David Woodhouse , linux-kernel@vger.kernel.org Subject: Re: [PATCH] ASN.1: fix open failure check on headername MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <5290.1459948164.1@warthog.procyon.org.uk> Date: Wed, 06 Apr 2016 14:09:24 +0100 Message-ID: <5291.1459948164@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Colin King wrote: > From: Colin Ian King > > The check for a failed open on headername is incorrectly checking > on the out FILE pointer rather than the hdr. Fix this. > > Signed-off-by: Colin Ian King Applied, thanks. David