From patchwork Fri Feb 17 03:19:02 2006 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver Endriss X-Patchwork-Id: 12206 Received: from mail.gmx.de ([213.165.64.20] helo=mail.gmx.net) by www.linuxtv.org with smtp (Exim 4.50) id 1F9wA1-0004BK-77 for vdr@linuxtv.org; Fri, 17 Feb 2006 04:19:57 +0100 Received: (qmail invoked by alias); 17 Feb 2006 03:19:26 -0000 Received: from p549AE3C8.dip.t-dialin.net (HELO cassiopeia.escape-edv.de) [84.154.227.200] by mail.gmx.net (mp019) with SMTP; 17 Feb 2006 04:19:26 +0100 X-Authenticated: #476490 Received: from orion (192.168.1.10) by cassiopeia.escape-edv.de (192.168.1.11) with esmtp ; Fri, 17 Feb 2006 04:22:17 +0100 From: Oliver Endriss Organization: ESCAPE GmbH EDV-Loesungen To: vdr@linuxtv.org Subject: Re: [vdr] vdr crashes on HDTV Test Channel Date: Fri, 17 Feb 2006 04:19:02 +0100 User-Agent: KMail/1.6.2 References: <006001c63349$db7f9ac0$0100a8c0@pentiumiv> In-Reply-To: <006001c63349$db7f9ac0$0100a8c0@pentiumiv> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200602170419.03002@orion.escape-edv.de> X-Y-GMX-Trusted: 0 X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vdr@linuxtv.org List-Id: VDR Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Feb 2006 03:19:57 -0000 Status: O X-Status: X-Keywords: X-UID: 7950 Andreas Share wrote: > since yesterday around 16:00 there is an new HDTV testchannel on hotbird > 13.0E, 10834 vertical, (TPS HD Test) and everytime vdr passes this > transponder vdr restart on my system without any comments. This happend with > my Nova Budget used for epg scan, and also with my full featured cards.... > > Could anybody confirm this? You might try something like the attached patch. It is a temporary solution until there is a better fix... CU Oliver --- /tmp/vdr-1.3.42/libsi/util.c Sat May 28 16:15:29 2005 +++ libsi/util.c Thu Feb 16 22:25:32 2006 @@ -10,6 +10,7 @@ * * ***************************************************************************/ +#include #include #include "util.h" @@ -120,6 +121,12 @@ CharArray::DataOwnData::~DataOwnData() { void CharArray::DataOwnData::assign(const unsigned char*d, unsigned int s) { Delete(); size=s; +if (size > 100000) { + printf ("assign size oops %x\n", size); + size = 0; + data = NULL; + return; +} unsigned char *newdata=new unsigned char[size]; memcpy(newdata, d, size); data=newdata;