[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100110.132813.21319484.davem@davemloft.net>
Date: Sun, 10 Jan 2010 13:28:13 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: jslaby@...e.cz
Cc: samuel@...tiz.org, linux-kernel@...r.kernel.org,
jirislaby@...il.com, alan@...ux.intel.com, gregkh@...e.de,
netdev@...r.kernel.org
Subject: Re: [PATCH 1/1] NET: irda, remove unnecessary checks
From: Jiri Slaby <jslaby@...e.cz>
Date: Sun, 10 Jan 2010 12:17:34 +0100
> Stanse found a potential null dereference in ircomm_tty_close
> and ircomm_tty_hangup. There is a check for tty being NULL,
> but it is dereferenced earlier. But it is bogus, the tty cannot
> be NULL, so remove the !tty checks.
>
> Signed-off-by: Jiri Slaby <jslaby@...e.cz>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists