vdr crashes on HDTV Test Channel
Commit Message
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
Comments
Oliver Endriss wrote:
> 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...
Yep, this helps ;-)
Deti
Oliver Endriss <o.endriss@gmx.de> writes:
> You might try something like the attached patch.
> It is a temporary solution until there is a better fix...
This patch also works with FR3 channel on hot bird.
Thanks
Oliver Endriss wrote:
...
> You might try something like the attached patch.
Thank you very much Oliver.
I applied this patch yesterday.
No more crashes since then.
Carsten.
@@ -10,6 +10,7 @@
* *
***************************************************************************/
+#include <stdio.h>
#include <string.h>
#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;