netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* BUG null dreference in driver drivers/net/hamradio/bpqether.c
@ 2009-12-15 17:55 Alexander Strakh
  0 siblings, 0 replies; only message in thread
From: Alexander Strakh @ 2009-12-15 17:55 UTC (permalink / raw)
  To: linux-hams, netdev, linux-hams

	KERNEL_VERSION: 2.6.32
	SUBJECT: null derefernce in function  bpq_xmit
	SUBSCRIBE:
	In driver drivers/net/hamradio/bpqether.c in function bpq_xmit:

1. if in line 288 after calling function bpq_get_ether_dev variable dev = 
NULL, then we goto line 289
2. In line 289:  null dereference of dev - "dev->stats.tx_dropped++"

 288        if ((dev = bpq_get_ether_dev(dev)) == NULL) {
 289                dev->stats.tx_dropped++;
 290                kfree_skb(skb);
 291                return NETDEV_TX_OK;
 292        }

Found by Linux Device Drivers Verification Project (Svace Detector)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-12-15 17:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-15 17:55 BUG null dreference in driver drivers/net/hamradio/bpqether.c Alexander Strakh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).