Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1449725

Re: [PATCH] net/irda: fix NULL pointer dereference on memory allocation failure

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] net/irda: fix NULL pointer dereference on memory allocation failure
Date 2016-07-25 20:30 +0200
Message-ID <rYSNz-7Vk-3@gated-at.bofh.it> (permalink)
References <rXXYZ-7rg-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Vegard Nossum <vegard.nossum@oracle.com>
Date: Sat, 23 Jul 2016 07:43:50 +0200

> I ran into this:
 ...
> The problem is that irda_open_tsap() can fail and leave self->tsap = NULL,
> and then irttp_connect_request() almost immediately dereferences it.
> 
> Cc: stable@vger.kernel.org
> Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>

Applied and queued up for -stable, thanks.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] net/irda: fix NULL pointer dereference on memory allocation failure Vegard Nossum <vegard.nossum@oracle.com> - 2016-07-23 07:50 +0200
  Re: [PATCH] net/irda: fix NULL pointer dereference on memory  allocation failure David Miller <davem@davemloft.net> - 2016-07-25 20:30 +0200

csiph-web