RE: [patch v2] rapidio: use after free in unregister function

2013-07-08 Thread Bounine, Alexandre
On Friday, July 05, 2013 4:39 PM, Dan Carpenter wrote: > We're freeing the list iterator so we can't move to the next entry. > Since there is only one matching mport_id, we can just break after > finding it. > > Signed-off-by: Dan Carpenter > --- > v2: cleaner fix than v1 > > diff --git a/drive

Re: [patch v2] rapidio: use after free in unregister function

2013-07-05 Thread Ryan Mallon
On 06/07/13 06:39, Dan Carpenter wrote: > We're freeing the list iterator so we can't move to the next entry. > Since there is only one matching mport_id, we can just break after > finding it. > > Signed-off-by: Dan Carpenter > --- > v2: cleaner fix than v1 > > diff --git a/drivers/rapidio/rio.

[patch v2] rapidio: use after free in unregister function

2013-07-05 Thread Dan Carpenter
We're freeing the list iterator so we can't move to the next entry. Since there is only one matching mport_id, we can just break after finding it. Signed-off-by: Dan Carpenter --- v2: cleaner fix than v1 diff --git a/drivers/rapidio/rio.c b/drivers/rapidio/rio.c index f4f30af..2e8a20c 100644 ---