[ playerstage-Bugs-3158339 ] ODEJoint::GetBodyForce/GetBodyTorque/GetFeedback Segfault

"SourceForge.net" <[email protected]>
Newsgroups gmane.science.robotics.playerstage
Message-ID <[email protected]>
Bugs item #3158339, was opened at 2011-01-14 18:07
Message generated for change (Tracker Item Submitted) made by 
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=433164&aid=3158339&group_id=42445

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: gazebo
Group: trunk
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nathan Koenig (natepak)
Summary: ODEJoint::GetBodyForce/GetBodyTorque/GetFeedback Segfault

Initial Comment:
ODEJoint::GetBodyTorque, ODEJoint::GetBodyForce, ODEJoint::GetFeedback,
 all depend on a pointer which is unchecked. If ODEJoint::Load does not
 pass in a node in which "provideFeedback" is true, that pointer will be
 NULL and cause a segfault on a call to any of the mentioned functions.

 To fix this a guard could be added in each function that either checks the
 "provideFeedback" parameter, or the value of the pointer before completing
 the request.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=433164&aid=3158339&group_id=42445

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.