Commit graph

5168 commits

Author SHA1 Message Date
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
Jaroslav Kysela
ecb2d7652c linuxdvb: lnb - fix Ku 10750 (Hi-Band, Inverted-Polar.) 2014-09-29 21:06:02 +02:00
Jaroslav Kysela
836aec0256 linuxdvb: lnb - added Ku 10750 (Hi-Band, Inverted-Polar.) 2014-09-29 20:53:23 +02:00
Jaroslav Kysela
5b8e6fc903 capmt: Fix filter data message for recent oscam 2014-09-29 20:27:07 +02:00
Jaroslav Kysela
ccb67158da epg api: apply the missing the ch_icon -> channelIcon change 2014-09-29 18:45:58 +02:00
Adam Sutton
7048335632 dvr autorec: don't delete spawned recordings on shutdown
This stops the odd behaviour of alerting the user to new recordings that are
added on startup, that were previously in existance on shutdown.
2014-09-29 16:28:49 +01:00
Jaroslav Kysela
4fb0774fa2 WEBUI JS: EPG: Do not show the clickable cursor and icon when filter is already set 2014-09-29 17:13:07 +02:00
Jaroslav Kysela
b528de6b05 WEBUI JS: EPG: Fix the clickable channel linking (autorec issue) 2014-09-29 16:53:09 +02:00
Jaroslav Kysela
05779c2a0d WEBUI JS: EPG/status: Use alias cursor for clickable columns 2014-09-29 16:47:45 +02:00
Jaroslav Kysela
8fa6977837 WEBUI JS: Some other tweaks to the epg broadcast info dialog styling 2014-09-29 15:58:35 +02:00
Jaroslav Kysela
9e007f5662 WEBUI JS: Replace the zoom icon with the small blue triangle 2014-09-29 15:43:41 +02:00
Jaroslav Kysela
8f7e6e565e scanfile: fix DVB-T bandwidth parsing for dvbv5 format, fixes #2336 2014-09-29 14:34:06 +02:00