From patchwork Mon Mar 21 11:29:59 2005 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "C.Y.M" X-Patchwork-Id: 11814 Received: from dialup-4.246.105.142.dial1.sanjose1.level3.net ([4.246.105.142] helo=nofear.bounceme.net) by www.linuxtv.org with esmtp (Exim 4.34) id 1DDL3H-0005xV-OK for vdr@linuxtv.org; Mon, 21 Mar 2005 12:26:32 +0100 Received: from [10.1.1.66] (hades [10.1.1.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by nofear.bounceme.net (Postfix) with ESMTP id 5AE347358A for ; Mon, 21 Mar 2005 03:26:39 -0800 (PST) Message-ID: <423EB037.8020104@syphir.sytes.net> Date: Mon, 21 Mar 2005 03:29:59 -0800 From: "C.Y.M" Organization: CooLNeT User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Klaus Schmidinger's VDR Subject: [vdr] security patch for vdradmin-0.97-am1 References: <423E9B93.2080808@syphir.sytes.net> <200503211118.39141.Andreas.Mair@linogate.com> <423EA4DF.9030004@syphir.sytes.net> In-Reply-To: <423EA4DF.9030004@syphir.sytes.net> X-Enigmail-Version: 0.90.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: syphir@syphir.sytes.net, Klaus Schmidinger's VDR List-Id: Klaus Schmidinger's VDR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2005 11:26:33 -0000 Status: O X-Status: X-Keywords: X-UID: 911 C.Y.M wrote: > Andreas Mair wrote: > >>Hi, >> >>thanks for the patch, I've already included it in the release I will put out >>today. >> >>Regards, >>Andreas >> >>On Monday 21 March 2005 11:01, C.Y.M wrote: >> >> >>>I noticed the following patch was missing from vdradmin-0.97-am1. >>> > > > No problem.. > > I know this is unrelated to the security patch, but I also noticed that if I > change the start page in the configuration options from the default "Channels" > to "What's On", then it fails to display upon login. > It appears that if I set the configuration to show the "Timers" screen on login, then it shows me "What's on". Also, I have attached another patch that looks like it was for vdr-1.3.x compatability way back. Im not sure if it is necessary or not.. Best Regards, diff -u --recursive /tmp/vdradmin-0.95/vdradmind.pl vdradmin-0.95/vdradmind.pl --- /tmp/vdradmin-0.95/vdradmind.pl 2003-12-13 18:26:37.000000000 +0200 +++ vdradmin-0.95/vdradmind.pl 2004-03-17 20:40:13.000000000 +0200 @@ -452,7 +452,7 @@ for my $channel (@CHAN) { if($channel->{source} eq $1 && $channel->{nid} == $2 && - ($channel->{nid} ? $channel->{tid} : $channel->{frequency}) == $3 && + ($channel->{nid} || $channel->{tid} ? $channel->{tid} : $channel->{frequency}) == $3 && $channel->{service_id} == $4) { return($channel->{vdr_id}); }