Commit graph

5179 commits

Author SHA1 Message Date
Jaroslav Kysela
ef4cebdb92 fsmonitor: coverity - fix variable access (beyond) 2014-10-03 15:02:39 +02:00
Jaroslav Kysela
36254905d7 htsp server: fix wrong fd condition (coverity) 2014-10-03 14:59:04 +02:00
Jaroslav Kysela
fc915fcdc4 fsmonitor: coverity - fsmonitor_fd cannot be negative 2014-10-03 14:57:07 +02:00
Jaroslav Kysela
60aa4e2658 tcp: connect - fix another memory leak (coverity) 2014-10-03 14:51:24 +02:00
Jaroslav Kysela
e136a37514 trap: fix digest variable initialization (coverity) 2014-10-03 14:50:25 +02:00
Jaroslav Kysela
7c2a37a6a1 imagecache: fix the url variable initialization for error path (coverity) 2014-10-03 14:49:01 +02:00
Jaroslav Kysela
7fc28acf56 http: handle negative value from base64_decode (coverity) 2014-10-03 14:47:23 +02:00
Jaroslav Kysela
1589bd8326 huffman: remove wrong htsmsg_destroy() call (coverity) 2014-10-03 14:45:18 +02:00
Jaroslav Kysela
07d5b1118e imagecache: coverity - fix wrong unlink() call 2014-10-03 14:42:26 +02:00
Jaroslav Kysela
a7e6993c13 tcp: fix memory leak in error path in tcp_server_create() (coverity) 2014-10-03 14:40:00 +02:00
Jaroslav Kysela
45d3685cd7 config: wrong map fix in v6 migrate (coverity) 2014-10-03 14:36:22 +02:00
Jaroslav Kysela
a03b8b06ae timeshift: reader - coverity - access to variable after free() 2014-10-03 14:35:37 +02:00
Jaroslav Kysela
a97c73d96e access: coverity - handle negative value from base64_decode() 2014-10-03 14:35:32 +02:00
Jaroslav Kysela
cb2e79788c intlconv: Add some missing close calls (coverity) 2014-10-03 14:17:04 +02:00
Jaroslav Kysela
22f0608421 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.
2014-10-03 11:36:10 +02:00
Jaroslav Kysela
604ff922fa mpegts service: use dvb_network_get_orbital_pos() in the picons code for dvb-s 2014-10-03 11:01:37 +02:00
Jaroslav Kysela
9a5e31449a mpegts service: fix memory leak - s_dvb_cridauth 2014-10-03 10:06:50 +02:00
Jaroslav Kysela
2699d86b42 timeshift: fix simple memory leak 2014-10-03 09:54:24 +02:00
Jaroslav Kysela
691b97cbec imagecache: fix a memory leak in imagecache_image_save() 2014-10-02 20:21:36 +02:00
Jaroslav Kysela
d1efa31f32 dvr timerec: remove unused variable 2014-10-02 20:18:31 +02:00
Jaroslav Kysela
2692fa68cd dvr timerec: don't delete spawned recordings on shutdown 2014-10-02 20:17:35 +02:00
Jaroslav Kysela
e3762f1c26 webui: allow access to imagecache also to streaming clients (like htsp for icons) 2014-10-02 19:59:40 +02:00
Jaroslav Kysela
797b033c06 picons: lower the buffer size 2014-10-02 19:50:21 +02:00
Jaroslav Kysela
370013bc47 tvhcsa: fix the dependencies correctly for dvbcsa (quick fix for the previous patch) 2014-10-02 18:19:10 +02:00
Jaroslav Kysela
11d6565821 tvhcsa: fix the compilation issue (dependencies) for dvbcsa 2014-10-02 18:11:59 +02:00
Jaroslav Kysela
5c483af6e2 Makefile: fix constcw FFDECSA dependency 2014-10-02 18:07:02 +02:00
Jaroslav Kysela
1249a5e812 avahi: improve shutdown sequence 2014-10-02 16:25:23 +02:00
Jaroslav Kysela
be5ae2ce84 remove data/conf/charset - not used 2014-10-02 16:02:10 +02:00
Jaroslav Kysela
94cb147321 descrambler: move tvhcsa structure to the descrambler runtime 2014-10-02 15:39:25 +02:00
Jaroslav Kysela
4faa0efc87 intlconv: add intlconv_to_utf8() and use it in dvb_support.c also fixes #2319 2014-10-02 13:36:31 +02:00
Jaroslav Kysela
ba8d90ff48 linuxdvb: satconf - check return value from linuxdvb_satconf_find_ele(), fixes #2320 2014-10-02 13:05:33 +02:00
Jaroslav Kysela
3373ac6ba3 epggrab: channels - fix wrong condition in epggrab_channel_link_delete() 2014-10-02 11:28:14 +02:00
Jaroslav Kysela
5d06c06b09 epg: fix regex leak in query 2014-10-02 09:21:43 +02:00
Jaroslav Kysela
e8607d660c avahi: fix memory leaks (missing avahi free calls) 2014-10-02 09:11:17 +02:00
Jaroslav Kysela
884ca540aa access: fix superuser variables leak 2014-10-02 08:58:15 +02:00
Jaroslav Kysela
38b2e31630 htsp: fix the channelIcon for current clients 2014-10-02 08:48:40 +02:00
Jaroslav Kysela
4f7e9284af descrambler: add constcw DES & AES clients 2014-10-02 08:40:01 +02:00
Jaroslav Kysela
e6b1d4ba2a cwc: remove tsdemux header 2014-10-01 20:27:01 +02:00
Jaroslav Kysela
e70841cb41 WEBUI JS: add show/hide passwords button for caclient 2014-10-01 20:24:45 +02:00
Jaroslav Kysela
3a37aa0304 WEBUI JS: enum lists are sorted using case-insensitive type now 2014-10-01 20:01:56 +02:00
Jaroslav Kysela
3cde304b1b cwc: fix the password field markers 2014-10-01 17:57:25 +02:00
Adam Sutton
0b3fcdce58 channel: added support for getting icons from underlying services
Also added an initial implementation of picon support.
2014-10-01 17:27:53 +02:00
Jaroslav Kysela
ab8af7c990 WEBUI JS: EPG - do not restore sorting and filters from cookie 2014-10-01 13:36:13 +02:00
Jaroslav Kysela
4861168d70 caclient: fix cwc,capmt thread handling, enhance capmt logs 2014-10-01 12:48:34 +02:00
Jaroslav Kysela
f3d4dba891 config: add cwc,capmt config migration to caclient 2014-10-01 11:50:51 +02:00
Jaroslav Kysela
ff104c4c18 caclient: improve webui, rewrite status notifications 2014-10-01 09:30:17 +02:00
Jaroslav Kysela
7f89149674 docs: moved the capmt,cwc docs to one caclient file... should be improved 2014-09-30 21:54:33 +02:00
Jaroslav Kysela
6c35524b30 WEBUI JS: remove the old capmt and cwc editors 2014-09-30 21:51:55 +02:00
Jaroslav Kysela
40d12b5fd4 dtable removal: celebrate new idnode system 2014-09-30 21:49:34 +02:00
Jaroslav Kysela
d307001c52 caclient: initial code to move cwc,capmt to idnode 2014-09-30 21:46:51 +02:00