From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo Neira Ayuso Subject: Re: [PATCH] netfilter: fix a missing check of nla put failure Date: Sat, 29 Dec 2018 02:50:35 +0100 Message-ID: <20181229015035.schsfpi6iikphmxr@salvia> References: <20181221064623.59988-1-kjlu@umn.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: pakki001@umn.edu, Jozsef Kadlecsik , Florian Westphal , "David S. Miller" , netfilter-devel@vger.kernel.org, coreteam@netfilter.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: Kangjie Lu Return-path: Received: from mail.us.es ([193.147.175.20]:36760 "EHLO mail.us.es" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726083AbeL2Buk (ORCPT ); Fri, 28 Dec 2018 20:50:40 -0500 Received: from antivirus1-rhel7.int (unknown [192.168.2.11]) by mail.us.es (Postfix) with ESMTP id 67721FB44E for ; Sat, 29 Dec 2018 02:50:38 +0100 (CET) Received: from antivirus1-rhel7.int (localhost [127.0.0.1]) by antivirus1-rhel7.int (Postfix) with ESMTP id 5994CDA791 for ; Sat, 29 Dec 2018 02:50:38 +0100 (CET) Content-Disposition: inline In-Reply-To: <20181221064623.59988-1-kjlu@umn.edu> Sender: netdev-owner@vger.kernel.org List-ID: On Fri, Dec 21, 2018 at 12:46:23AM -0600, Kangjie Lu wrote: > If nla_nest_start() may fail. The fix checks its return value and goes > to nla_put_failure if it fails. Applied, thanks.