Hello there,
I just tried the static analyser "cppcheck" over the source
code of dmtcp-2.1
It said many things, including
[resource_manager.cpp:65]: (style) Array index 'j' is used before limits check.
Source code is
while( (path[j] == '/' || path[j] == '\\') && j < path.size() ){
Suggest put j sanity check before use.
Regards
David Binderman
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Dmtcp-forum mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dmtcp-forum