cppcheck analysis of ibutils_1.2-OFED-1.4.2-1.dsc
- ./ibdm/ibdm/Fabric.h:204 [error] - Buffer access out-of-bounds
- ./ibdm/ibdm/FatTree.cpp:338 [error] - Undefined behaviour: buf is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./ibdm/ibdm/ibdm_wrap.cpp:218 [error] - Common realloc mistake: "SwigPtrTable" nulled but not freed upon failure
- ./ibdm/ibdm/ibdmsh_wrap.cpp:218 [error] - Common realloc mistake: "SwigPtrTable" nulled but not freed upon failure
- ./ibdm/ibdm/ibnl_parser.cc:1181 [error] - Memory leak: yyptr
- ./ibis/src/ibis_wrap.c:218 [error] - Common realloc mistake: "SwigPtrTable" nulled but not freed upon failure
- ./ibis/src/ibis_wrap.c:444 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibis_wrap.c:617 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibis_wrap.c:661 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibis_wrap.c:835 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibis_wrap.c:1635 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibis_wrap.c:1693 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibis_wrap.c:1751 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibis_wrap.c:1809 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibis_wrap.c:1866 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibis_wrap.c:1923 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibis_wrap.c:1980 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibis_wrap.c:2037 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibis_wrap.c:2094 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibis_wrap.c:2151 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibis_wrap.c:2209 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibis_wrap.c:2267 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibis_wrap.c:2324 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibis_wrap.c:2382 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibis_wrap.c:820 [error] - Undefined behaviour: buff is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./ibis/src/ibis_wrap.c:5691 [error] - Undefined behaviour: buff is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./ibis/src/ibis_wrap.c:5831 [error] - Undefined behaviour: buff is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./ibis/src/ibis_wrap.c:5901 [error] - Undefined behaviour: buff is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./ibis/src/ibis_wrap.c:5973 [error] - Undefined behaviour: buff is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./ibis/src/ibis_wrap.c:5976 [error] - Undefined behaviour: buff is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./ibis/src/ibis_wrap.c:5979 [error] - Undefined behaviour: buff is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./ibis/src/ibis_wrap.c:6051 [error] - Undefined behaviour: buff is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./ibis/src/ibis_wrap.c:6054 [error] - Undefined behaviour: buff is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./ibis/src/ibis_wrap.c:6057 [error] - Undefined behaviour: buff is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./ibis/src/ibis_wrap.c:6060 [error] - Undefined behaviour: buff is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./ibis/src/ibis_wrap.c:6063 [error] - Undefined behaviour: buff is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./ibis/src/ibissh_wrap.cpp:218 [error] - Common realloc mistake: "SwigPtrTable" nulled but not freed upon failure
- ./ibis/src/ibissh_wrap.cpp:444 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibissh_wrap.cpp:617 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibissh_wrap.cpp:661 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibissh_wrap.cpp:835 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibissh_wrap.cpp:1635 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibissh_wrap.cpp:1693 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibissh_wrap.cpp:1751 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibissh_wrap.cpp:1809 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibissh_wrap.cpp:1866 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibissh_wrap.cpp:1923 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibissh_wrap.cpp:1980 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibissh_wrap.cpp:2037 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibissh_wrap.cpp:2094 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibissh_wrap.cpp:2151 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibissh_wrap.cpp:2209 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibissh_wrap.cpp:2267 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibissh_wrap.cpp:2324 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibissh_wrap.cpp:2382 [error] - Common realloc mistake: "p_res_str" nulled but not freed upon failure
- ./ibis/src/ibissh_wrap.cpp:820 [error] - Undefined behaviour: buff is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./ibis/src/ibissh_wrap.cpp:5753 [error] - Undefined behaviour: buff is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./ibis/src/ibissh_wrap.cpp:5893 [error] - Undefined behaviour: buff is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./ibis/src/ibissh_wrap.cpp:5963 [error] - Undefined behaviour: buff is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./ibis/src/ibissh_wrap.cpp:6035 [error] - Undefined behaviour: buff is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./ibis/src/ibissh_wrap.cpp:6038 [error] - Undefined behaviour: buff is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./ibis/src/ibissh_wrap.cpp:6041 [error] - Undefined behaviour: buff is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./ibis/src/ibissh_wrap.cpp:6113 [error] - Undefined behaviour: buff is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./ibis/src/ibissh_wrap.cpp:6116 [error] - Undefined behaviour: buff is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./ibis/src/ibissh_wrap.cpp:6119 [error] - Undefined behaviour: buff is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./ibis/src/ibissh_wrap.cpp:6122 [error] - Undefined behaviour: buff is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./ibis/src/ibissh_wrap.cpp:6125 [error] - Undefined behaviour: buff is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./ibmgtsim/src/ibmssh_wrap.cpp:29184 [error] - Buffer access out-of-bounds
- ./ibmgtsim/src/ibmssh_wrap.cpp:29222 [error] - Buffer access out-of-bounds
- ./ibmgtsim/src/ibmssh_wrap.cpp:29285 [error] - Buffer access out-of-bounds
- ./ibmgtsim/src/ibmssh_wrap.cpp:29323 [error] - Buffer access out-of-bounds
- ./ibmgtsim/src/ibmssh_wrap.cpp:30815 [error] - Buffer access out-of-bounds
- ./ibmgtsim/src/ibmssh_wrap.cpp:30853 [error] - Buffer access out-of-bounds
- ./ibmgtsim/src/ibmssh_wrap.cpp:30916 [error] - Buffer access out-of-bounds
- ./ibmgtsim/src/ibmssh_wrap.cpp:30954 [error] - Buffer access out-of-bounds
- ./ibmgtsim/src/ibmssh_wrap.cpp:32542 [error] - Buffer access out-of-bounds
- ./ibmgtsim/src/ibmssh_wrap.cpp:32580 [error] - Buffer access out-of-bounds
- ./ibmgtsim/src/ibmssh_wrap.cpp:34744 [error] - Buffer access out-of-bounds
- ./ibmgtsim/src/ibmssh_wrap.cpp:34782 [error] - Buffer access out-of-bounds
- ./ibmgtsim/src/ibmssh_wrap.cpp:35947 [error] - Buffer access out-of-bounds
- ./ibmgtsim/src/ibmssh_wrap.cpp:35985 [error] - Buffer access out-of-bounds
- ./ibmgtsim/src/ibmssh_wrap.cpp:37248 [error] - Buffer access out-of-bounds
- ./ibmgtsim/src/ibmssh_wrap.cpp:37286 [error] - Buffer access out-of-bounds
- ./ibmgtsim/src/ibmssh_wrap.cpp:37800 [error] - Buffer access out-of-bounds
- ./ibmgtsim/src/ibmssh_wrap.cpp:37838 [error] - Buffer access out-of-bounds
- ./ibmgtsim/src/ibmssh_wrap.cpp:218 [error] - Common realloc mistake: "SwigPtrTable" nulled but not freed upon failure
- ./ibmgtsim/src/simmsg.cpp:110 [error] - Undefined behaviour: msg is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./ibmgtsim/src/simmsg.cpp:112 [error] - Undefined behaviour: msg is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./ibmgtsim/src/simmsg.cpp:114 [error] - Undefined behaviour: msg is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./ibmgtsim/src/simmsg.cpp:116 [error] - Undefined behaviour: msg is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./ibmgtsim/src/simmsg.cpp:118 [error] - Undefined behaviour: msg is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./ibmgtsim/src/simmsg.cpp:121 [error] - Undefined behaviour: msg is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./ibmgtsim/src/simmsg.cpp:123 [error] - Undefined behaviour: msg is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Mon, 20 Dec 2010 21:14:50 +0000, based on results by cppcheck 1.46