cppcheck analysis of gpsim_0.24-5.dsc
- ./src/ValueCollections.h:262 [error] - Dangerous usage of c_str()
- ./eXdbm/eXdbm.c:233 [error] - Resource leak: f
- ./eXdbm/eXdbm.c:569 [error] - Memory leak: filename
- ./gui/gui_menu.cc:1600 [error] - Possible null pointer dereference: umi
- ./gui/gui_menu.cc:1602 [error] - Possible null pointer dereference: umi
- ./gui/gui_scope.h:45 [error] - Memory leak: GridPointMapping::m_pixel
- ./gui/gui_statusbar.cc:231 [error] - Mismatching allocation and deallocation: RegisterLabeledEntry::pCellFormat
- ./modules/usart.cc:188 [error] - instance of "IO_bi_directional" object destroyed immediately
- ./src/bitlog.h:135 [error] - Memory leak: ThreeStateEventLogger::pEventBuffer
- ./src/bytelog.h:42 [error] - Memory leak: ByteLogger::buffer
- ./src/comparator.cc:399 [error] - Mismatching allocation and deallocation: VRCON::pin_name
- ./src/registers.cc:572 [error] - Possible null pointer dereference: m_pProcessor - otherwise it is redundant to check if m_pProcessor is null at line 574
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:29 +0000, based on results by cppcheck 1.46