Thread (14 messages) 14 messages, 3 authors, 2009-09-28

Re: [PATCH] atm: dereference of he_dev->rbps_virt in he_init_group()

From: David Miller <davem@davemloft.net>
Date: 2009-09-03 06:25:34

From: Roel Kluin <redacted>
Date: Sat, 29 Aug 2009 20:59:04 +0200
he_dev->rbps_virt or he_dev->rbpl_virt allocation may fail.

Signed-off-by: Roel Kluin <redacted>
---
There was another in the same function.
These new return statements will both leak resources allocated
earlier.

All the caller is going to do is return -ENOMEM as well and
it does not cleanup actions at all.

Please fix this up.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help