cppcheck analysis of nel_0.5.0-1.1.dsc
- ./samples/net/chat/client.cpp:170 [possible error] - Memory leak: Client
- ./samples/net/login_system/frontend_service.cpp:136 [possible error] - Memory leak: CFrontEndService::_FServer
- ./samples/net/udp/client.cpp:423 [possible error] - Memory leak: cc
- ./samples/net/udp_ping/client.cpp:102 [possible error] - Memory leak: UdpSock
- ./src/3d/cloud.cpp:75 [possible error] - Mismatching allocation and deallocation: CCloud::_UStart
- ./src/3d/cloud.cpp:76 [possible error] - Mismatching allocation and deallocation: CCloud::_VStart
- ./src/3d/cloud.cpp:77 [possible error] - Mismatching allocation and deallocation: CCloud::_WStart
- ./src/3d/cloud.h:147 [possible error] - Memory leak: CCloud::_MemBill
- ./src/3d/cloud.h:152 [possible error] - Memory leak: CCloud::_MemOldBill
- ./src/3d/instance_lighter.cpp:945 [possible error] - Memory leak: VCM
- ./src/3d/landscape.cpp:460 [possible error] - Memory leak: zone
- ./src/3d/noise_3d.h:77 [possible error] - Memory leak: CNoise3d::_Mem
- ./src/3d/tess_list.h:40 [error] - Class CTessNodeList which is inherited by class CPatchDLMContext does not have a virtual destructor
- ./src/3d/ps_particle_basic.h:809 [error] - Class CPSMaterial which is inherited by class CPSFanLight does not have a virtual destructor
- ./src/3d/ps_particle_basic.h:809 [error] - Class CPSMaterial which is inherited by class CPSQuad does not have a virtual destructor
- ./src/3d/ps_particle_basic.h:809 [error] - Class CPSMaterial which is inherited by class CPSRibbon does not have a virtual destructor
- ./src/3d/ps_particle_basic.h:809 [error] - Class CPSMaterial which is inherited by class CPSRibbonLookAt does not have a virtual destructor
- ./src/3d/ps_particle_basic.h:809 [error] - Class CPSMaterial which is inherited by class CPSTailDot does not have a virtual destructor
- ./src/3d/tess_list.h:40 [error] - Class CTessNodeList which is inherited by class CTessFace does not have a virtual destructor
- ./src/3d/tess_face_priority_list.h:56 [error] - Class CTessFacePListNode which is inherited by class CTessFace does not have a virtual destructor
- ./src/3d/tess_list.h:40 [error] - Class CTessNodeList which is inherited by class CVegetableInstanceGroup does not have a virtual destructor
- ./src/ligo/zone_template.cpp:263 [error] - Same iterator is used with both edgePair and edgePairReverse
- ./src/ligo/zone_template.cpp:264 [error] - Same iterator is used with both edgePair and edgePairReverse
- ./src/ligo/zone_template.cpp:272 [error] - Dereferenced iterator 'currentVert' has been erased
- ./src/ligo/zone_template.cpp:282 [error] - Same iterator is used with both edgePair and edgePairReverse
- ./src/ligo/zone_template.cpp:283 [error] - Same iterator is used with both edgePair and edgePairReverse
- ./src/misc/buf_fifo.cpp:570 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/misc/buf_fifo.cpp:574 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/misc/buf_fifo.cpp:579 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/misc/buf_fifo.cpp:584 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/misc/buf_fifo.cpp:588 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/misc/buf_fifo.cpp:607 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/misc/buf_fifo.cpp:612 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/misc/buf_fifo.cpp:610 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/misc/debug.cpp:1664 [error] - Possible null pointer dereference: adr
- ./src/misc/debug.cpp:1678 [error] - Possible null pointer dereference: adr
- ./src/misc/fixed_size_allocator.cpp:68 [possible error] - Memory leak: chunk
- ./src/misc/mutex.cpp:724 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./src/misc/mutex.cpp:724 [error] - Invalid number of character ({) when these macros are defined: 'MUTEX_DEBUG'.
- ./src/misc/mutex.cpp:724 [error] - Invalid number of character ({) when these macros are defined: 'MUTEX_DEBUG;STORE_MUTEX_NAME'.
- ./src/misc/noise_value.cpp:136 [error] - Uninitialized variable: dx2
- ./src/misc/path.cpp:2210 [error] - Resource leak: fp1
- ./src/net/sock.cpp:71 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./src/sound/driver/fmod/buffer_fmod.cpp:311 [error] - Array 'hdrstr[4]' index 4 out of bounds
- ./src/sound/driver/fmod/buffer_fmod.cpp:322 [error] - Array 'hdrstr[4]' index 4 out of bounds
- ./src/sound/driver/fmod/buffer_fmod.cpp:330 [error] - Array 'hdrstr[4]' index 4 out of bounds
- ./src/sound/driver/fmod/buffer_fmod.cpp:387 [error] - Array 'hdrstr[4]' index 4 out of bounds
- ./src/sound/driver/openal/buffer_al.cpp:162 [possible error] - Mismatching allocation and deallocation: CBufferAL::_Data
- ./src/sound/sound_animation.cpp:185 [possible error] - Memory leak: marker
- ./tools/3d/animation_set_builder/animation_set_builder.cpp:111 [possible error] - Memory leak: anim
- ./tools/3d/ig_elevation/main.cpp:458 [possible error] - Memory leak: pIGout
- ./tools/3d/object_viewer/attrib_dlg.cpp:1548 [possible error] - Memory leak: ad
- ./tools/3d/object_viewer/collision_zone_dlg.h:78 [possible error] - Memory leak: CCollisionZoneDlg::_BounceFactorDlg
- ./tools/3d/object_viewer/dialog_stack.h:46 [error] - Class CDialogStack which is inherited by class CEmitterDlg does not have a virtual destructor
- ./tools/3d/object_viewer/dialog_stack.h:46 [error] - Class CDialogStack which is inherited by class CParticleSystemEdit does not have a virtual destructor
- ./tools/3d/object_viewer/particle_workspace.h:159 [error] - Class CParticleWorkspace which is inherited by class CParticleTreeCtrl does not have a virtual destructor
- ./tools/3d/object_viewer/snapshot_tool_dlg.cpp:598 [error] - Possible null pointer dereference: model - otherwise it is redundant to check if model is null at line 606
- ./tools/3d/object_viewer/vegetable_refresh.h:38 [error] - Class IVegetableRefresh which is inherited by class CVegetableDlg does not have a virtual destructor
- ./tools/3d/plugin_max/nel_export/nel_export_filetools.cpp:309 [error] - Resource leak: fin
- ./tools/3d/plugin_max/nel_export/nel_export_lightmap_v2.cpp:3402 [possible error] - Memory leak: mesh
- ./tools/3d/plugin_max/nel_patch_paint/nel_patch_paint.h:560 [possible error] - Memory leak: PaintPatchData::tempData
- ./tools/3d/tile_edit/GetVal.h:18 [possible error] - Memory leak: GetVal::name
- ./tools/3d/tile_edit/PIC/Pic_BMP.c:89 [error] - Resource leak: file
- ./tools/3d/tile_edit/PIC/Pic_BMP.c:150 [error] - Resource leak: file
- ./tools/3d/tile_edit/PIC/Pic_JPG.c:59 [error] - Resource leak: file
- ./tools/3d/tile_edit/PIC/Pic_JPG.c:140 [error] - Resource leak: file
- ./tools/3d/tile_edit/PIC/Pic_TGA.c:60 [error] - Resource leak: file
- ./tools/3d/tile_edit/PIC/Pic_TGA.c:193 [error] - Resource leak: file
- ./tools/3d/tile_edit/TileCtrl.cpp:69 [possible error] - Mismatching allocation and deallocation: _Edge::line
- ./tools/3d/tile_edit/TileCtrl.cpp:87 [possible error] - Mismatching allocation and deallocation: _Edge::line
- ./tools/3d/tile_edit/TileCtrl.cpp:99 [possible error] - Mismatching allocation and deallocation: _Edge::line
- ./tools/3d/tile_edit/TileCtrl.cpp:111 [possible error] - Mismatching allocation and deallocation: _Edge::line
- ./tools/3d/tile_edit/TileCtrl.cpp:123 [possible error] - Mismatching allocation and deallocation: _Edge::line
- ./tools/3d/tile_edit/TileCtrl.h:121 [possible error] - Memory leak: TileCtrl::pImList
- ./tools/3d/tile_edit/TileCtrl.h:122 [possible error] - Memory leak: TileCtrl::pipo_buffer
- ./tools/3d/tile_edit/TileCtrl.h:123 [possible error] - Memory leak: TileCtrl::bmp
- ./tools/3d/tile_edit/View.h:162 [possible error] - Memory leak: CTView::pImList
- ./tools/3d/tile_edit/View.h:163 [possible error] - Memory leak: CTView::pipo_buffer
- ./tools/3d/tile_edit/View.h:164 [possible error] - Memory leak: CTView::bmp
- ./tools/3d/tile_edit/custom.h:27 [possible error] - Memory leak: Custom::buttonList
- ./tools/3d/tile_edit/custom.h:28 [possible error] - Memory leak: Custom::staticList
- ./tools/3d/zone_ig_lighter/zone_ig_lighter.cpp:237 [possible error] - Memory leak: landscape
- ./tools/3d/zone_lighter/zone_lighter.cpp:921 [possible error] - Memory leak: landscape
- ./tools/logic/logic_editor_dll/logic_editor.cpp:114 [possible error] - Memory leak: pMainFrame
- ./tools/logic/logic_editor_dll/logic_editor.h:26 [possible error] - Memory leak: CLogic_editorApp::_DocTemplate
- ./tools/misc/bnp_make/main.cpp:145 [error] - Resource leak: f2
- ./tools/misc/bnp_make/main.cpp:151 [error] - Mismatching allocation and deallocation: ptr
- ./tools/misc/bnp_make/main.cpp:222 [error] - Mismatching allocation and deallocation: ptr
- ./tools/misc/branch_patcher/branch_patcherDlg.h:56 [possible error] - Memory leak: CBranch_patcherDlg::m_Display
- ./tools/misc/lock/lock.cpp:42 [error] - Resource leak: fileOut
- ./tools/misc/log_analyser/ViewDialog.h:170 [possible error] - Memory leak: CViewDialog::FindDialog
- ./tools/nel_unit_test/misc_ut/object_command_test.cpp:123 [possible error] - Memory leak: CObjectCommandTS::t2
- ./tools/sound/source_sounds_builder/source_sounds_builderDlg.h:73 [possible error] - Memory leak: CSource_sounds_builderDlg::_SoundPage
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Thu, 16 Dec 2010 05:59:07 +0000, based on results by cppcheck 1.41-modif