Project

General

Profile

Bug #5554

Is this a real bugs?

Added by saen acro over 5 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
2019-02-22
Due date:
% Done:

0%

Estimated time:
Found in version:
latest 4.3.xxxx git code
Affected Versions:

Description

By mistake I checked with CPPCHECK my full git source directory with include TVH git

[src/clock.h:88]: (information) Skipping configuration 'CLOCK_MONOTONIC;PLATFORM_DARWIN' since the value of 'CLOCK_MONOTONIC' is unknown. 
[src/clock.h:99]: (information) Skipping configuration 'CLOCK_MONOTONIC;PLATFORM_DARWIN' since the value of 'CLOCK_MONOTONIC' is unknown. 
[src/config.c:2419]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour
[src/config.c:2430]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour
[src/descrambler/cclient.c:157]: (error) Dereferencing 'providers' after it is deallocated / released
[src/dvr/dvr_config.c:1493]: (information) Skipping configuration 'IOV_MAX' since the value of 'IOV_MAX' is unknown. 
[src/epggrab/module/eitpatternlist.c:98]: (information) Skipping configuration 'TVHREGEX_TYPE' since the value of 'TVHREGEX_TYPE' is unknown. 
[src/file.c:40]: (error) Pointer addition with NULL pointer.
[src/htsmsg.c:1481]: (error) Common realloc mistake: 'ret' nulled but not freed upon failure
[src/htsmsg.c:1484]: (error) Common realloc mistake: 'ret' nulled but not freed upon failure
[src/htsmsg.c:1487]: (error) Common realloc mistake: 'ret' nulled but not freed upon failure
[src/htsp_server.c:3420]: (error) Address of local auto-variable assigned to a function parameter.
[src/http.c:2059]: (error) Address of local auto-variable assigned to a function parameter.
[src/idnode.c:854]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour
[src/input/mpegts/linuxdvb/linuxdvb_ca.c:501]: (warning) Possible null pointer dereference: data
[src/input/mpegts/mpegts_input.c:1884]: (error) syntax error
[src/parsers/parser_hevc.c:171]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour
[src/prop.c:145]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour
[src/prop.c:160]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour
[src/prop.c:315]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour
[src/prop.c:327]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour
[src/prop.c:544]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour
[src/satip/rtsp.c:192]: (error) syntax error
[src/tcp.c:709]: (information) Skipping configuration 'TCP_KEEPCNT' since the value of 'TCP_KEEPCNT' is unknown.
[src/tcp.c:699]: (information) Skipping configuration 'TCP_KEEPIDLE' since the value of 'TCP_KEEPIDLE' is unknown.
[src/tvh_locale.c:170]: (error) Syntax Error: AST broken, binary operator '!=' doesn't have two operands.
[src/tvh_thread.c:56]: (information) Skipping configuration 'SYS_gettid' since the value of 'SYS_gettid' is unknown.
[src/udp.c:146]: (information) Skipping configuration 'SOL_IP' since the value of 'SOL_IP' is unknown.
[src/udp.c:291]: (information) Skipping configuration 'SOL_IPV6' since the value of 'SOL_IPV6' is unknown.
[src/udp.c:426]: (information) Skipping configuration 'SOL_IPV6' since the value of 'SOL_IPV6' is unknown.
[src/webui/xmltv.c:160]: (error) syntax error
[src/wrappers.c:321]: (information) Skipping configuration 'ENABLE_PCRE;PCRE_CONFIG_JIT;PCRE_STUDY_JIT_COMPILE' since the value of 'PCRE_STUDY_JIT_COMPILE' is unknown.
[src/wrappers.c:321]: (information) Skipping configuration 'ENABLE_PCRE;PCRE_STUDY_JIT_COMPILE' since the value of 'PCRE_STUDY_JIT_COMPILE' is unknown. 

History

#1

Updated by saen acro over 5 years ago

make distclean
cppcheck -q -f .
[src/api/api_epg.c:558]: (error) Common realloc mistake: 'bcast_entries' nulled but not freed upon failure
[src/epggrab/module/opentv.c:238]: (error) Memory leak: nentry
[src/htsmsg.c:1481]: (error) Common realloc mistake: 'ret' nulled but not freed upon failure
[src/htsmsg.c:1484]: (error) Common realloc mistake: 'ret' nulled but not freed upon failure
[src/htsmsg.c:1487]: (error) Common realloc mistake: 'ret' nulled but not freed upon failure
[src/htsp_server.c:3420]: (error) Address of local auto-variable assigned to a function parameter.
[src/idnode.c:1486]: (error) Common realloc mistake: 'ret' nulled but not freed upon failure
[src/idnode.c:1492]: (error) Common realloc mistake: 'ret' nulled but not freed upon failure
[src/input/mpegts/dvb_psi.c:588]: (error) Return value of allocation function 'dvb_bat_find_service' is not stored.
[src/input/mpegts/dvb_psi.c:616]: (error) Return value of allocation function 'dvb_bat_find_service' is not stored.
[src/input/mpegts/dvb_psi.c:2075]: (error) Return value of allocation function 'dvb_bat_find_service' is not stored.
[src/input/mpegts/mpegts_input.c:1884]: (error) syntax error
[src/parsers/parser_avc.c:138]: (error) Common realloc mistake: 'sps_array' nulled but not freed upon failure
[src/parsers/parser_avc.c:139]: (error) Common realloc mistake: 'sps_size_array' nulled but not freed upon failure
[src/parsers/parser_avc.c:144]: (error) Common realloc mistake: 'pps_size_array' nulled but not freed upon failure
[src/parsers/parser_avc.c:145]: (error) Common realloc mistake: 'pps_array' nulled but not freed upon failure
[src/plumbing/tsfix.c:162]: (error) Memory leak: tfs
[src/prop.c:628]: (error) Common realloc mistake: 'r' nulled but not freed upon failure
[src/satip/rtsp.c:192]: (error) syntax error
[src/tvh_locale.c:283]: (error) Return value of allocation function 'lng_add' is not stored.
[src/webui/xmltv.c:160]: (error) syntax error

Also available in: Atom PDF