[ofa-general] Re: Dereferencing freed memory bugs

Roland Dreier rdreier at cisco.com
Wed Apr 1 10:44:51 PDT 2009


Thanks for forwarding this...

 > 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?

Thanks,
  Roland



More information about the general mailing list