cppcheck analysis of vlc_1.1.7-4.dsc
- ./libs/loader/registry.c:299 [error] - Common realloc mistake: "regs" nulled but not freed upon failure
- ./libs/loader/registry.c:407 [error] - Memory leak: t
- ./libs/loader/registry.c:490 [error] - Memory leak: t
- ./modules/access/gnomevfs.c:116 [error] - Possible null pointer dereference: p_sys
- ./modules/access/gnomevfs.c:117 [error] - Possible null pointer dereference: p_sys
- ./modules/access/gnomevfs.c:118 [error] - Possible null pointer dereference: p_sys
- ./modules/access/http.c:281 [error] - Uninitialized variable: p_sys
- ./modules/access/http.c:282 [error] - Uninitialized variable: p_sys
- ./modules/access/http.c:283 [error] - Uninitialized variable: p_sys
- ./modules/access/http.c:284 [error] - Uninitialized variable: p_sys
- ./modules/access/http.c:285 [error] - Uninitialized variable: p_sys
- ./modules/access/http.c:286 [error] - Uninitialized variable: p_sys
- ./modules/access/http.c:287 [error] - Uninitialized variable: p_sys
- ./modules/access/http.c:288 [error] - Uninitialized variable: p_sys
- ./modules/access/http.c:289 [error] - Uninitialized variable: p_sys
- ./modules/access/http.c:290 [error] - Uninitialized variable: p_sys
- ./modules/access/http.c:291 [error] - Uninitialized variable: p_sys
- ./modules/access/http.c:292 [error] - Uninitialized variable: p_sys
- ./modules/access/http.c:293 [error] - Uninitialized variable: p_sys
- ./modules/access/http.c:304 [error] - Uninitialized variable: p_sys
- ./modules/access/http.c:305 [error] - Uninitialized variable: p_sys
- ./modules/access/http.c:306 [error] - Uninitialized variable: p_sys
- ./modules/access/http.c:307 [error] - Uninitialized variable: p_sys
- ./modules/access/http.c:308 [error] - Uninitialized variable: p_sys
- ./modules/access/http.c:309 [error] - Uninitialized variable: p_sys
- ./modules/access/http.c:310 [error] - Uninitialized variable: p_sys
- ./modules/access/http.c:311 [error] - Uninitialized variable: p_sys
- ./modules/access/http.c:312 [error] - Uninitialized variable: p_sys
- ./modules/access/http.c:313 [error] - Uninitialized variable: p_sys
- ./modules/access/http.c:318 [error] - Uninitialized variable: p_sys
- ./modules/access/http.c:320 [error] - Uninitialized variable: p_sys
- ./modules/access/http.c:295 [error] - Uninitialized variable: p_sys
- ./modules/access/zip/zipstream.c:576 [error] - Memory leak: playlist
- ./modules/access/zip/zipstream.c:602 [error] - Memory leak: psz_path
- ./modules/audio_filter/resampler/bandlimited.c:119 [error] - Possible null pointer dereference: p_in_buf - otherwise it is redundant to check if p_in_buf is null at line 120
- ./modules/codec/avcodec/audio.c:315 [error] - Possible null pointer dereference: p_block - otherwise it is redundant to check if p_block is null at line 316
- ./modules/codec/avcodec/video.c:535 [error] - Possible null pointer dereference: p_block - otherwise it is redundant to check if p_block is null at line 536
- ./modules/demux/asademux_defs.h:89 [error] - Null pointer dereference
- ./modules/demux/asademux_defs.h:150 [error] - Null pointer dereference
- ./modules/demux/asademux_defs.h:171 [error] - Null pointer dereference
- ./modules/demux/asademux_defs.h:192 [error] - Null pointer dereference
- ./modules/demux/asademux_defs.h:206 [error] - Null pointer dereference
- ./modules/demux/gme.c:282 [error] - Possible null pointer dereference: titlev
- ./modules/demux/mkv/matroska_segment.hpp:113 [error] - Memory leak: matroska_segment_c::p_indexes
- ./modules/demux/mp4/drms.c:1563 [error] - Dangerous usage of 'p_tmp' (strncpy doesn't always 0-terminate it)
- ./modules/gui/qt4/components/playlist/selector.cpp:280 [error] - Memory leak: mycomp
- ./modules/gui/qt4/components/playlist/selector.cpp:280 [error] - Memory leak: devices
- ./modules/gui/qt4/components/playlist/selector.cpp:280 [error] - Memory leak: lan
- ./modules/gui/qt4/components/playlist/selector.cpp:280 [error] - Memory leak: internet
- ./modules/gui/skins2/parser/builder.cpp:275 [error] - Memory leak: pFont
- ./modules/gui/skins2/parser/builder.cpp:230 [error] - Possible null pointer dereference: pParentBmp
- ./modules/misc/freetype.c:2313 [error] - Deallocating a deallocated pointer: psz_text
- ./modules/misc/rtsp.c:398 [error] - Memory leak: p_media
- ./modules/misc/rtsp.c:1097 [error] - Memory leak: p_rtsp
- ./modules/misc/rtsp.c:1451 [error] - Memory leak: p_rtsp
- ./modules/mux/avi.c:489 [error] - Possible null pointer dereference: p_data - otherwise it is redundant to check if p_data is null at line 490
- ./modules/packetizer/dirac.c:935 [error] - Possible null pointer dereference: p_block - otherwise it is redundant to check if p_block is null at line 936
- ./modules/packetizer/dirac.c:812 [error] - Memory leak: p_dbe
- ./modules/packetizer/vc1.c:215 [error] - Possible null pointer dereference: p_block - otherwise it is redundant to check if p_block is null at line 216
- ./modules/services_discovery/sap.c:1487 [error] - Common realloc mistake: "psz_dst" nulled but not freed upon failure
- ./modules/stream_out/rtsp.c:635 [error] - Memory leak: ses
- ./modules/video_filter/atmo/AtmoOutputFilter.cpp:82 [error] - Mismatching allocation and deallocation: CAtmoOutputFilter::m_percent_filter_output_old
- ./modules/video_filter/atmo/AtmoOutputFilter.cpp:138 [error] - Mismatching allocation and deallocation: CAtmoOutputFilter::m_mean_filter_output_old
- ./modules/video_filter/atmo/AtmoOutputFilter.cpp:144 [error] - Mismatching allocation and deallocation: CAtmoOutputFilter::m_mean_values
- ./modules/video_filter/atmo/AtmoOutputFilter.cpp:150 [error] - Mismatching allocation and deallocation: CAtmoOutputFilter::m_mean_sums
- ./modules/video_filter/atmo/AtmoTools.cpp:58 [error] - Memory leak: packet
- ./modules/video_filter/atmo/AtmoTools.cpp:140 [error] - Memory leak: packet
- ./modules/video_filter/atmo/AtmoZoneDefinition.cpp:133 [error] - Memory leak: pBuf
- ./modules/video_filter/atmo/AtmoZoneDefinition.cpp:178 [error] - Memory leak: pBuf
- ./modules/video_filter/atmo/AtmoZoneDefinition.cpp:252 [error] - Memory leak: pixelBuffer
- ./modules/video_filter/osdmenu.c:192 [error] - Possible null pointer dereference: p_sys
- ./modules/video_filter/osdmenu.c:193 [error] - Possible null pointer dereference: p_sys
- ./modules/video_output/drawable.c:83 [error] - Common realloc mistake: "used" nulled but not freed upon failure
- ./modules/video_output/xcb/window.c:560 [error] - Common realloc mistake: "used" nulled but not freed upon failure
- ./projects/activex/vlccontrol2.cpp:937 [error] - Possible null pointer dereference: geometry - otherwise it is redundant to check if geometry is null at line 938
- ./src/misc/messages.c:598 [error] - Memory leak: p_ctx
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, 28 Mar 2011 06:58:36 +0000, based on results by cppcheck 1.46