]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IRDA]: Missing allocation result check in irlap_change_speed().
authorFlorin Malita <fmalita@gmail.com>
Mon, 5 Jun 2006 22:34:52 +0000 (15:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Jun 2006 22:34:52 +0000 (15:34 -0700)
commit8c893ff6abbac0c7c05b1cb9bfb6e2dfc4538c75
tree12b020116e993979fc61d02243a4af5b6ba315f4
parent9bc18091a5e44a368827f539289b99788eb27d4e
[IRDA]: Missing allocation result check in irlap_change_speed().

The skb allocation may fail, which can result in a NULL pointer dereference
in irlap_queue_xmit().

Coverity CID: 434.

Signed-off-by: Florin Malita <fmalita@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/irda/irlap.c