← Back to team overview

yade-dev team mailing list archive

[Bug 759481] Re: Possible "wrong memory access" in many places

 

It seems,  
if (!B) continue;

is already added everywhere, where it is necessary. 
Jan, according to Sergei's message [1], could you, please, delete "if(!I) continue;" from your code and check, whether the bug appears. 

If not, it is better to delete this "if" from the code.

Anton

[1] http://www.mail-archive.com/yade-
dev@xxxxxxxxxxxxxxxxxxx/msg06807.html

-- 
You received this bug notification because you are a member of Yade
developers, which is the registrant for Yade.
https://bugs.launchpad.net/bugs/759481

Title:
  Possible "wrong memory access" in many places

Status in Yet Another Dynamic Engine:
  New

Bug description:
  Jan Stransky has found and fixed a bug, which leads to wrong memory
  access [1].

  If we "grep" the code, we will find a lot of places, where the same
  issue can appear. See the attachment, this is the output only for
  "Interactions".

  I think, we have to put those "if(!I) continue;" and "if (!B)
  continue;" everywhere to escape crashes.


  [1] http://bazaar.launchpad.net/~yade-dev/yade/trunk/revision/2809



References