From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751348AbcFCEdA (ORCPT ); Fri, 3 Jun 2016 00:33:00 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:33225 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750748AbcFCEc7 (ORCPT ); Fri, 3 Jun 2016 00:32:59 -0400 Date: Thu, 02 Jun 2016 21:32:57 -0700 (PDT) Message-Id: <20160602.213257.846438393853856990.davem@davemloft.net> To: kangjielu@gmail.com Cc: jon.maloy@ericsson.com, ying.xue@windriver.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, taesoo@gatech.edu, csong84@gatech.edu, kjlu@gatech.edu Subject: Re: [PATCH] tipc: fix an infoleak in tipc_nl_compat_link_dump From: David Miller In-Reply-To: <1464854696-29513-1-git-send-email-kjlu@gatech.edu> References: <1464854696-29513-1-git-send-email-kjlu@gatech.edu> X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 02 Jun 2016 21:32:58 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kangjie Lu Date: Thu, 2 Jun 2016 04:04:56 -0400 > link_info.str is a char array of size 60. Memory after the NULL > byte is not initialized. Sending the whole object out can cause > a leak. > > Signed-off-by: Kangjie Lu Applied.