[vdr] [Patch] crashes with old recordings without info file

2011-04-03 Thread Mika Laitio
I have some old recordings made on 2005 which does not have info file. This caused vdr 1.7.17 to crash because in tools.c line 1194 there is no check whether the file parameter passed is NULL or not. Real cause for the crash is in the vdrrip plugins which should handle the case where the info

Re: [vdr] [Patch] crashes with old recordings without info file

2011-04-03 Thread Klaus Schmidinger
On 03.04.2011 12:23, Mika Laitio wrote: I have some old recordings made on 2005 which does not have info file. This caused vdr 1.7.17 to crash because in tools.c line 1194 there is no check whether the file parameter passed is NULL or not. Real cause for the crash is in the vdrrip plugins

Re: [vdr] [Patch] crashes with old recordings without info file

2011-04-03 Thread Mika Laitio
I wonder who is actually calling cRecordingInfo::Read(FILE *f) with a NULL pointer? In VDR's own code all calls to that function are made sure to get a non-NULL pointer: Yes, the real reason is in the vdrrip plugin that I cloned from http://projects.vdr-developer.org/git/ It has this kind of