[vdr] bug in channels.h?

Matthias Lenk matthias.lenk at amd.com
Thu Jul 21 11:32:30 CEST 2005


Hello all,

I was experimenting with VDR 1.3.27 and DVB-T reception and found an issue in 
channels.h. The alangs member of the class cChannel has MAXAPIDS elements. 
But in channels.c line 447 an element with index MAXAPIDS can be accessed. 
But the max index is of course MAXAPIDS - 1. This can have weird effects, so 
I suggest to increase the number of elements to MAXAPIDS + 1. The same is 
true for dlangs member of the cChannels class.

Best Regards,

Matthias Lenk




More information about the vdr mailing list