[ofa-general] Re: Dereferencing freed memory bugs

Tung, Chien Tin chien.tin.tung at intel.com
Wed Apr 1 11:05:38 PDT 2009


> > I added a check to smatch (http://repo.or.cz/w/smatch.git/) to check
> > for when we dereference
> > freed memory.
>
> > drivers/infiniband/hw/nes/nes_cm.c +563 
>nes_cm_timer_tick(121) 'cm_node'
> > drivers/infiniband/hw/nes/nes_cm.c +621 
>nes_cm_timer_tick(179) 'cm_node'
>
>This seems to be against an older tree -- the code in that 
>file has been
>reorganized.  Would it be possible to rerun this check (which sounds
>very useful) against the latest version of 
>drivers/infiniband/hw/nes for
>2.6.29-git?

I believe Dan did run his tool against 2.6.29 source.  We are
looking into the two warnings.  Current thinking is we did
introduce a couple of errors with the recent CM changes.


Chien

--
Chien Tung | chien.tin.tung at intel.com


More information about the general mailing list