]> git.ipfire.org Git - thirdparty/tvheadend.git/log
thirdparty/tvheadend.git
11 years agolinuxdvb: en50494 - use /dev/urandom value instead rand()
Jaroslav Kysela [Fri, 3 Oct 2014 20:16:43 +0000 (22:16 +0200)] 
linuxdvb: en50494 - use /dev/urandom value instead rand()

11 years agoparser latm: remove dead code (coverity)
Jaroslav Kysela [Fri, 3 Oct 2014 20:15:06 +0000 (22:15 +0200)] 
parser latm: remove dead code (coverity)

11 years agodvr config: remove dead code (coverity)
Jaroslav Kysela [Fri, 3 Oct 2014 20:13:09 +0000 (22:13 +0200)] 
dvr config: remove dead code (coverity)

11 years agodvr cutpoints: fix memory leak (coverity)
Jaroslav Kysela [Fri, 3 Oct 2014 20:09:54 +0000 (22:09 +0200)] 
dvr cutpoints: fix memory leak (coverity)

11 years agoparsers: bitstream - wrong shift operator argument (coverity)
Jaroslav Kysela [Fri, 3 Oct 2014 20:08:24 +0000 (22:08 +0200)] 
parsers: bitstream - wrong shift operator argument (coverity)

11 years agocoverity fixes - fixed string copy
Jaroslav Kysela [Fri, 3 Oct 2014 20:06:37 +0000 (22:06 +0200)] 
coverity fixes - fixed string copy

11 years agolinuxdvb adapter: coverity fixes
Jaroslav Kysela [Fri, 3 Oct 2014 20:03:20 +0000 (22:03 +0200)] 
linuxdvb adapter: coverity fixes

11 years agoiptv mux: coverity fixes
Jaroslav Kysela [Fri, 3 Oct 2014 19:59:29 +0000 (21:59 +0200)] 
iptv mux: coverity fixes

11 years agomisc dbl: coverity fixes
Jaroslav Kysela [Fri, 3 Oct 2014 19:54:57 +0000 (21:54 +0200)] 
misc dbl: coverity fixes

11 years agoapi: epg - coverity fix
Jaroslav Kysela [Fri, 3 Oct 2014 19:48:58 +0000 (21:48 +0200)] 
api: epg - coverity fix

11 years agoepggrab: channels - coverity fixes
Jaroslav Kysela [Fri, 3 Oct 2014 19:47:10 +0000 (21:47 +0200)] 
epggrab: channels - coverity fixes

11 years agoextjs: coverity fixes
Jaroslav Kysela [Fri, 3 Oct 2014 19:44:11 +0000 (21:44 +0200)] 
extjs: coverity fixes

11 years agoepggrab: eit - coverity fix
Jaroslav Kysela [Fri, 3 Oct 2014 19:42:01 +0000 (21:42 +0200)] 
epggrab: eit - coverity fix

11 years agoopentv: coverity fixes
Jaroslav Kysela [Fri, 3 Oct 2014 19:39:49 +0000 (21:39 +0200)] 
opentv: coverity fixes

11 years agoscanfile: coverity fixes
Jaroslav Kysela [Fri, 3 Oct 2014 19:37:39 +0000 (21:37 +0200)] 
scanfile: coverity fixes

11 years agompegts mux: coverity fixes
Jaroslav Kysela [Fri, 3 Oct 2014 19:28:56 +0000 (21:28 +0200)] 
mpegts mux: coverity fixes

11 years agodvr_db: coverity fixes
Jaroslav Kysela [Fri, 3 Oct 2014 19:25:01 +0000 (21:25 +0200)] 
dvr_db: coverity fixes

11 years agodvr_inotify: coverity fixes
Jaroslav Kysela [Fri, 3 Oct 2014 19:23:37 +0000 (21:23 +0200)] 
dvr_inotify: coverity fixes

11 years agosatip: coverity fixes
Jaroslav Kysela [Fri, 3 Oct 2014 19:20:23 +0000 (21:20 +0200)] 
satip: coverity fixes

11 years agocapmt: coverity fixes
Jaroslav Kysela [Fri, 3 Oct 2014 19:14:34 +0000 (21:14 +0200)] 
capmt: coverity fixes

11 years agocwc: use better random values (coverity)
Jaroslav Kysela [Fri, 3 Oct 2014 19:12:31 +0000 (21:12 +0200)] 
cwc: use better random values (coverity)

11 years agotimeshift: fix some coverity issues
Jaroslav Kysela [Fri, 3 Oct 2014 19:02:56 +0000 (21:02 +0200)] 
timeshift: fix some coverity issues

11 years agoaccess: fix access_entry_class_password_set() - coverity
Jaroslav Kysela [Fri, 3 Oct 2014 16:51:23 +0000 (18:51 +0200)] 
access: fix access_entry_class_password_set() - coverity

11 years agodvr: coverity - fix dvr_entry_class_channel_name_set()
Jaroslav Kysela [Fri, 3 Oct 2014 16:49:15 +0000 (18:49 +0200)] 
dvr: coverity - fix dvr_entry_class_channel_name_set()

11 years agoidnode: better check for p argument in idnode_get_display() - coverity
Jaroslav Kysela [Fri, 3 Oct 2014 16:47:52 +0000 (18:47 +0200)] 
idnode: better check for p argument in idnode_get_display() - coverity

11 years agocapmt: check negative value for tvh_socket()
Jaroslav Kysela [Fri, 3 Oct 2014 16:46:43 +0000 (18:46 +0200)] 
capmt: check negative value for tvh_socket()

11 years agoconfig: fix the s1 string handling (coverity)
Jaroslav Kysela [Fri, 3 Oct 2014 16:44:38 +0000 (18:44 +0200)] 
config: fix the s1 string handling (coverity)

11 years agoepggrab: eit - fix code block in _eit_get_string_with_len() - coverity
Jaroslav Kysela [Fri, 3 Oct 2014 16:42:26 +0000 (18:42 +0200)] 
epggrab: eit - fix code block in _eit_get_string_with_len() - coverity

11 years agodvr: dvr_config_class_name_set() - NULL str - coverity
Jaroslav Kysela [Fri, 3 Oct 2014 16:39:38 +0000 (18:39 +0200)] 
dvr: dvr_config_class_name_set() - NULL str - coverity

11 years agodvr: dvr_inotify_add() - add missing free - coverity
Jaroslav Kysela [Fri, 3 Oct 2014 16:38:21 +0000 (18:38 +0200)] 
dvr: dvr_inotify_add() - add missing free - coverity

11 years agompegts_input: add missing mutex unlock calls (coverity)
Jaroslav Kysela [Fri, 3 Oct 2014 16:32:06 +0000 (18:32 +0200)] 
mpegts_input: add missing mutex unlock calls (coverity)

11 years agohttpc: coverity - used another variable in http_client_ssl_shutdown()
Jaroslav Kysela [Fri, 3 Oct 2014 15:43:43 +0000 (17:43 +0200)] 
httpc: coverity - used another variable in http_client_ssl_shutdown()

11 years agohtsmsg: fix htsmsg_list_2_csv() first variable - coverity
Jaroslav Kysela [Fri, 3 Oct 2014 15:37:48 +0000 (17:37 +0200)] 
htsmsg: fix htsmsg_list_2_csv() first variable - coverity

11 years agofilebundle: fix possible buf overflow in fb_scandir() - coverity
Jaroslav Kysela [Fri, 3 Oct 2014 15:31:29 +0000 (17:31 +0200)] 
filebundle: fix possible buf overflow in fb_scandir() - coverity

11 years agoepgdb: epg_init - fix possible negative value - coverity
Jaroslav Kysela [Fri, 3 Oct 2014 15:29:24 +0000 (17:29 +0200)] 
epgdb: epg_init - fix possible negative value - coverity

11 years agoepg: _eq_add - move e == NULL check - coverity
Jaroslav Kysela [Fri, 3 Oct 2014 15:27:20 +0000 (17:27 +0200)] 
epg: _eq_add - move e == NULL check - coverity

11 years agoconfig: coverity - missing NULL check
Jaroslav Kysela [Fri, 3 Oct 2014 15:25:38 +0000 (17:25 +0200)] 
config: coverity - missing NULL check

11 years agohtsmsg: add missing va_end() calls - coverity
Jaroslav Kysela [Fri, 3 Oct 2014 15:20:19 +0000 (17:20 +0200)] 
htsmsg: add missing va_end() calls - coverity

11 years agoepgdb: check return value in epg_save()
Jaroslav Kysela [Fri, 3 Oct 2014 15:18:56 +0000 (17:18 +0200)] 
epgdb: check return value in epg_save()

11 years agoservice: remove dead code (esf_service) - coverity
Jaroslav Kysela [Fri, 3 Oct 2014 15:17:24 +0000 (17:17 +0200)] 
service: remove dead code (esf_service) - coverity

11 years agosubscriptions: reshuffle code in subscription_unlink_mux() - coverity
Jaroslav Kysela [Fri, 3 Oct 2014 15:15:56 +0000 (17:15 +0200)] 
subscriptions: reshuffle code in subscription_unlink_mux() - coverity

11 years agoesfilter: remove dead code (coverity)
Jaroslav Kysela [Fri, 3 Oct 2014 15:14:33 +0000 (17:14 +0200)] 
esfilter: remove dead code (coverity)

11 years agofilebundle: coverity - fix possible buf overflow in fb_readdir()
Jaroslav Kysela [Fri, 3 Oct 2014 15:03:33 +0000 (17:03 +0200)] 
filebundle: coverity - fix possible buf overflow in fb_readdir()

11 years agohtsmsg: coverity - add missing break in htsmsg_field_get_string()
Jaroslav Kysela [Fri, 3 Oct 2014 15:02:08 +0000 (17:02 +0200)] 
htsmsg: coverity - add missing break in htsmsg_field_get_string()

11 years agoidnode: remove dead code - coverity
Jaroslav Kysela [Fri, 3 Oct 2014 15:00:43 +0000 (17:00 +0200)] 
idnode: remove dead code - coverity

11 years agosettings: coverity - possible buf overflow
Jaroslav Kysela [Fri, 3 Oct 2014 14:58:39 +0000 (16:58 +0200)] 
settings: coverity - possible buf overflow

11 years agotvhlog: cleanup tvhlog_queue on shutdown
Jaroslav Kysela [Fri, 3 Oct 2014 14:21:37 +0000 (16:21 +0200)] 
tvhlog: cleanup tvhlog_queue on shutdown

11 years agoepg: coverity - fix _epg_sort_title_ascending()
Jaroslav Kysela [Fri, 3 Oct 2014 14:08:48 +0000 (16:08 +0200)] 
epg: coverity - fix _epg_sort_title_ascending()

11 years agosettings: add missing va_end() call to hts_settings_vload() - coverity
Jaroslav Kysela [Fri, 3 Oct 2014 14:04:43 +0000 (16:04 +0200)] 
settings: add missing va_end() call to hts_settings_vload() - coverity

11 years agoconfig: another coverity fix in config_modify_tag()
Jaroslav Kysela [Fri, 3 Oct 2014 13:58:30 +0000 (15:58 +0200)] 
config: another coverity fix in config_modify_tag()

11 years agosubscriptions: subscription_create_from_mux() reshuffle some wrong code (coverity)
Jaroslav Kysela [Fri, 3 Oct 2014 13:56:51 +0000 (15:56 +0200)] 
subscriptions: subscription_create_from_mux() reshuffle some wrong code (coverity)

11 years agohtsp server: fix len variable type in htsp_read_message() - coverity (signess)
Jaroslav Kysela [Fri, 3 Oct 2014 13:53:55 +0000 (15:53 +0200)] 
htsp server: fix len variable type in htsp_read_message() - coverity (signess)

11 years agofilebundle: fix wrong malloc() in fb_scandir() - coverity
Jaroslav Kysela [Fri, 3 Oct 2014 13:52:02 +0000 (15:52 +0200)] 
filebundle: fix wrong malloc() in fb_scandir() - coverity

11 years agohtsbuf: add two missing va_end() calls to htsbuf_vqprintf()
Jaroslav Kysela [Fri, 3 Oct 2014 13:49:38 +0000 (15:49 +0200)] 
htsbuf: add two missing va_end() calls to htsbuf_vqprintf()

11 years agosettings: add missing va_end() - coverity
Jaroslav Kysela [Fri, 3 Oct 2014 13:46:27 +0000 (15:46 +0200)] 
settings: add missing va_end() - coverity

11 years agocron: coverity chack for NULL string in cron_parse_val()
Jaroslav Kysela [Fri, 3 Oct 2014 13:45:04 +0000 (15:45 +0200)] 
cron: coverity chack for NULL string in cron_parse_val()

11 years agotcp: coverity don't close(-1)
Jaroslav Kysela [Fri, 3 Oct 2014 13:44:43 +0000 (15:44 +0200)] 
tcp: coverity don't close(-1)

11 years agoidnode: fix get functions (islist) - coverity
Jaroslav Kysela [Fri, 3 Oct 2014 13:26:42 +0000 (15:26 +0200)] 
idnode: fix get functions (islist) - coverity

11 years agoconfig: coverify - fix possible NULL dereference
Jaroslav Kysela [Fri, 3 Oct 2014 13:21:47 +0000 (15:21 +0200)] 
config: coverify - fix possible NULL dereference

11 years agotvhlog: tvhlog_thread - remove dead code (coverity)
Jaroslav Kysela [Fri, 3 Oct 2014 13:19:28 +0000 (15:19 +0200)] 
tvhlog: tvhlog_thread - remove dead code (coverity)

11 years agoservice: fix service_class_caid_get() snprintf - coverity
Jaroslav Kysela [Fri, 3 Oct 2014 13:17:41 +0000 (15:17 +0200)] 
service: fix service_class_caid_get() snprintf - coverity

11 years agoidnode: coverity fix variable initialization in idnode_filter_init()
Jaroslav Kysela [Fri, 3 Oct 2014 13:16:04 +0000 (15:16 +0200)] 
idnode: coverity fix variable initialization in idnode_filter_init()

11 years agoprop: add extra assert to prop_read_value()
Jaroslav Kysela [Fri, 3 Oct 2014 13:13:03 +0000 (15:13 +0200)] 
prop: add extra assert to prop_read_value()

11 years agocoverity: fix memory leak in idnode_filter()
Jaroslav Kysela [Fri, 3 Oct 2014 13:08:21 +0000 (15:08 +0200)] 
coverity: fix memory leak in idnode_filter()

11 years agofsmonitor: coverity - fix variable access (beyond)
Jaroslav Kysela [Fri, 3 Oct 2014 13:02:39 +0000 (15:02 +0200)] 
fsmonitor: coverity - fix variable access (beyond)

11 years agohtsp server: fix wrong fd condition (coverity)
Jaroslav Kysela [Fri, 3 Oct 2014 12:59:04 +0000 (14:59 +0200)] 
htsp server: fix wrong fd condition (coverity)

11 years agofsmonitor: coverity - fsmonitor_fd cannot be negative
Jaroslav Kysela [Fri, 3 Oct 2014 12:57:07 +0000 (14:57 +0200)] 
fsmonitor: coverity - fsmonitor_fd cannot be negative

11 years agotcp: connect - fix another memory leak (coverity)
Jaroslav Kysela [Fri, 3 Oct 2014 12:51:24 +0000 (14:51 +0200)] 
tcp: connect - fix another memory leak (coverity)

11 years agotrap: fix digest variable initialization (coverity)
Jaroslav Kysela [Fri, 3 Oct 2014 12:50:25 +0000 (14:50 +0200)] 
trap: fix digest variable initialization (coverity)

11 years agoimagecache: fix the url variable initialization for error path (coverity)
Jaroslav Kysela [Fri, 3 Oct 2014 12:49:01 +0000 (14:49 +0200)] 
imagecache: fix the url variable initialization for error path (coverity)

11 years agohttp: handle negative value from base64_decode (coverity)
Jaroslav Kysela [Fri, 3 Oct 2014 12:47:23 +0000 (14:47 +0200)] 
http: handle negative value from base64_decode (coverity)

11 years agohuffman: remove wrong htsmsg_destroy() call (coverity)
Jaroslav Kysela [Fri, 3 Oct 2014 12:45:18 +0000 (14:45 +0200)] 
huffman: remove wrong htsmsg_destroy() call (coverity)

11 years agoimagecache: coverity - fix wrong unlink() call
Jaroslav Kysela [Fri, 3 Oct 2014 12:42:26 +0000 (14:42 +0200)] 
imagecache: coverity - fix wrong unlink() call

11 years agotcp: fix memory leak in error path in tcp_server_create() (coverity)
Jaroslav Kysela [Fri, 3 Oct 2014 12:40:00 +0000 (14:40 +0200)] 
tcp: fix memory leak in error path in tcp_server_create() (coverity)

11 years agoconfig: wrong map fix in v6 migrate (coverity)
Jaroslav Kysela [Fri, 3 Oct 2014 12:36:22 +0000 (14:36 +0200)] 
config: wrong map fix in v6 migrate (coverity)

11 years agotimeshift: reader - coverity - access to variable after free()
Jaroslav Kysela [Fri, 3 Oct 2014 12:27:37 +0000 (14:27 +0200)] 
timeshift: reader - coverity - access to variable after free()

11 years agoaccess: coverity - handle negative value from base64_decode()
Jaroslav Kysela [Fri, 3 Oct 2014 12:26:38 +0000 (14:26 +0200)] 
access: coverity - handle negative value from base64_decode()

11 years agointlconv: Add some missing close calls (coverity)
Jaroslav Kysela [Fri, 3 Oct 2014 12:17:04 +0000 (14:17 +0200)] 
intlconv: Add some missing close calls (coverity)

11 years agohtsp: reshuffle some code to prevent unexpected async messages on shutdown
Jaroslav Kysela [Fri, 3 Oct 2014 09:35:06 +0000 (11:35 +0200)] 
htsp: reshuffle some code to prevent unexpected async messages on shutdown

valgrind reported:
   Invalid write of size 8
      at 0x43000F: htsp_serve (htsp_server.c:2510)
      by 0x4147D2: tcp_server_start (tcp.c:447)
      by 0x412250: thread_wrapper (wrappers.c:125)
      by 0x771CB4F: start_thread (pthread_create.c:304)
      by 0x7E97E6C: clone (clone.S:112)
    Address 0x11c30ca8 is 120 bytes inside a block of size 264 free'd
      at 0x4C27D4E: free (vg_replace_malloc.c:427)
      by 0x42FF27: htsp_serve (htsp_server.c:2488)
      by 0x4147D2: tcp_server_start (tcp.c:447)
      by 0x412250: thread_wrapper (wrappers.c:125)
      by 0x771CB4F: start_thread (pthread_create.c:304)
      by 0x7E97E6C: clone (clone.S:112)

The client was removed from the async list after all connections
were destroyed, but queues are part of the connection structure,
so sporadically, an async msg was queued after the queue flush.

This code change moves the async unlink before the connection
destroy call.

11 years agompegts service: use dvb_network_get_orbital_pos() in the picons code for dvb-s
Jaroslav Kysela [Fri, 3 Oct 2014 09:01:37 +0000 (11:01 +0200)] 
mpegts service: use dvb_network_get_orbital_pos() in the picons code for dvb-s

11 years agompegts service: fix memory leak - s_dvb_cridauth
Jaroslav Kysela [Fri, 3 Oct 2014 08:06:50 +0000 (10:06 +0200)] 
mpegts service: fix memory leak - s_dvb_cridauth

11 years agotimeshift: fix simple memory leak
Jaroslav Kysela [Fri, 3 Oct 2014 07:54:24 +0000 (09:54 +0200)] 
timeshift: fix simple memory leak

11 years agoimagecache: fix a memory leak in imagecache_image_save()
Jaroslav Kysela [Thu, 2 Oct 2014 18:21:36 +0000 (20:21 +0200)] 
imagecache: fix a memory leak in imagecache_image_save()

11 years agodvr timerec: remove unused variable
Jaroslav Kysela [Thu, 2 Oct 2014 18:18:31 +0000 (20:18 +0200)] 
dvr timerec: remove unused variable

11 years agodvr timerec: don't delete spawned recordings on shutdown
Jaroslav Kysela [Thu, 2 Oct 2014 18:17:35 +0000 (20:17 +0200)] 
dvr timerec: don't delete spawned recordings on shutdown

11 years agowebui: allow access to imagecache also to streaming clients (like htsp for icons)
Jaroslav Kysela [Thu, 2 Oct 2014 17:59:36 +0000 (19:59 +0200)] 
webui: allow access to imagecache also to streaming clients (like htsp for icons)

11 years agopicons: lower the buffer size
Jaroslav Kysela [Thu, 2 Oct 2014 17:50:21 +0000 (19:50 +0200)] 
picons: lower the buffer size

11 years agotvhcsa: fix the dependencies correctly for dvbcsa (quick fix for the previous patch)
Jaroslav Kysela [Thu, 2 Oct 2014 16:19:10 +0000 (18:19 +0200)] 
tvhcsa: fix the dependencies correctly for dvbcsa (quick fix for the previous patch)

11 years agotvhcsa: fix the compilation issue (dependencies) for dvbcsa
Jaroslav Kysela [Thu, 2 Oct 2014 16:11:52 +0000 (18:11 +0200)] 
tvhcsa: fix the compilation issue (dependencies) for dvbcsa

11 years agoMakefile: fix constcw FFDECSA dependency
Jaroslav Kysela [Thu, 2 Oct 2014 16:07:02 +0000 (18:07 +0200)] 
Makefile: fix constcw FFDECSA dependency

11 years agoavahi: improve shutdown sequence
Jaroslav Kysela [Thu, 2 Oct 2014 14:25:23 +0000 (16:25 +0200)] 
avahi: improve shutdown sequence

11 years agoremove data/conf/charset - not used
Jaroslav Kysela [Thu, 2 Oct 2014 14:02:10 +0000 (16:02 +0200)] 
remove data/conf/charset - not used

11 years agodescrambler: move tvhcsa structure to the descrambler runtime
Jaroslav Kysela [Thu, 2 Oct 2014 13:39:25 +0000 (15:39 +0200)] 
descrambler: move tvhcsa structure to the descrambler runtime

11 years agointlconv: add intlconv_to_utf8() and use it in dvb_support.c also fixes #2319
Jaroslav Kysela [Thu, 2 Oct 2014 11:36:31 +0000 (13:36 +0200)] 
intlconv: add intlconv_to_utf8() and use it in dvb_support.c also fixes #2319

11 years agolinuxdvb: satconf - check return value from linuxdvb_satconf_find_ele(), fixes #2320
Jaroslav Kysela [Thu, 2 Oct 2014 11:05:33 +0000 (13:05 +0200)] 
linuxdvb: satconf - check return value from linuxdvb_satconf_find_ele(), fixes #2320

11 years agoepggrab: channels - fix wrong condition in epggrab_channel_link_delete()
Jaroslav Kysela [Thu, 2 Oct 2014 09:28:14 +0000 (11:28 +0200)] 
epggrab: channels - fix wrong condition in epggrab_channel_link_delete()

11 years agoepg: fix regex leak in query
Jaroslav Kysela [Thu, 2 Oct 2014 07:21:43 +0000 (09:21 +0200)] 
epg: fix regex leak in query

11 years agoavahi: fix memory leaks (missing avahi free calls)
Jaroslav Kysela [Thu, 2 Oct 2014 07:11:17 +0000 (09:11 +0200)] 
avahi: fix memory leaks (missing avahi free calls)

11 years agoaccess: fix superuser variables leak
Jaroslav Kysela [Thu, 2 Oct 2014 06:58:15 +0000 (08:58 +0200)] 
access: fix superuser variables leak

11 years agohtsp: fix the channelIcon for current clients htsp/15
Jaroslav Kysela [Thu, 2 Oct 2014 06:48:40 +0000 (08:48 +0200)] 
htsp: fix the channelIcon for current clients