Bug#826072: alevt: Program table overflow
f.heckenbach at fh-soft.de
Thu Jun 2 03:09:54 UTC 2016
progtbl has a size of 16 (actually, only 15 are used due to the
check "progcnt >= sizeof(progtbl)/sizeof(progtbl)"; maybe this
should be ">", unless the last entry is needed as a terminator).
Anyway, one channel I receive (DE-Nuremberg, DVB-T, 786000000 Hz,
Eurosport etc.) has a size of 17, so it's too small either way and
alevt aborts with the message given in the subject.
I don't know if there are official size limits, or whether there are
side-effects to my change, but for now, just increasing the size
seems to work for me.
The same code exists in the alevt package, may need to be patched
@@ -628,7 +628,7 @@
- } progtbl, *progp;
+ } progtbl, *progp;
u_int8_t * ppname, * psname, pncode, sncode, pnlen, snlen;
More information about the pkg-vdr-dvb-devel