linux/net/irda
David S. Miller 628e300ccc irda: Correctly clean up self->ias_obj on irda_bind() failure.
If irda_open_tsap() fails, the irda_bind() code tries to destroy
the ->ias_obj object by hand, but does so wrongly.

In particular, it fails to a) release the hashbin attached to the
object and b) reset the self->ias_obj pointer to NULL.

Fix both problems by using irias_delete_object() and explicitly
setting self->ias_obj to NULL, just as irda_release() does.

Reported-by: Tavis Ormandy <taviso@cmpxchg8b.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-08-30 18:37:56 -07:00
..
ircomm
irlan irda: fix a race in irlan_eth_xmit() 2010-08-19 00:41:52 -07:00
irnet
Kconfig
Makefile
af_irda.c irda: Correctly clean up self->ias_obj on irda_bind() failure. 2010-08-30 18:37:56 -07:00
discovery.c
irda_device.c
iriap.c
iriap_event.c
irias_object.c
irlap.c
irlap_event.c
irlap_frame.c
irlmp.c
irlmp_event.c
irlmp_frame.c
irmod.c
irnetlink.c
irproc.c
irqueue.c
irsysctl.c
irttp.c
parameters.c
qos.c
timer.c
wrapper.c