[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160306.230103.935516724641513071.davem@davemloft.net>
Date: Sun, 06 Mar 2016 23:01:03 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: parthasarathy.bhuvaragan@...csson.com
Cc: netdev@...r.kernel.org, tipc-discussion@...ts.sourceforge.net,
jon.maloy@...csson.com, maloy@...jonn.com, ying.xue@...driver.com
Subject: Re: [PATCH net v1 1/1] tipc: fix nullptr crash during subscription
cancel
From: Parthasarathy Bhuvaragan <parthasarathy.bhuvaragan@...csson.com>
Date: Thu, 3 Mar 2016 17:54:54 +0100
> commit 4d5cfcba2f6e ('tipc: fix connection abort during subscription
> cancel'), removes the check for a valid subscription before calling
> tipc_nametbl_subscribe().
>
> This will lead to a nullptr exception when we process a
> subscription cancel request. For a cancel request, a null
> subscription is passed to tipc_nametbl_subscribe() resulting
> in exception.
>
> In this commit, we call tipc_nametbl_subscribe() only for
> a valid subscription.
>
> Fixes: 4d5cfcba2f6e ('tipc: fix connection abort during subscription cancel')
> Reported-by: Anders Widell <anders.widell@...csson.com>
> Signed-off-by: Parthasarathy Bhuvaragan <parthasarathy.bhuvaragan@...csson.com>
> Acked-by: Jon Maloy <jon.maloy@...csson.com>
Applied.
Powered by blists - more mailing lists