[vdr] [Announce] LNB-sharing patch for VDR 1.4.0-3
Markus Ehrnsperger
markus.ehrnsperger at googlemail.com
Sat Jan 2 15:27:49 CET 2010
Am 23. Oktober 2006 20:34 schrieb Matthias Lötzke <Matthias at loetzke.de>:
> A new release of the configurable LNB-sharing patch for VDR 1.4 is
> available at:
> http://xn--ltzke-jua.de/dvb/VDR_LNB_sharing_patch/configurableLNBshare-VDR_1.4.3.patch
>
> Matthias.
Hi Matthias,
there is an error in this patch that can cause a buffer overflow and
stop of VDR. The error can be fixed by replacing:
char tmp[30];
for (int i = 1; i <= cDevice::NumDevices(); i++) {
if (cDevice::GetDevice(i - 1)->ProvidesSource(cSource::stSat)) {
sprintf( tmp, tr("Setup.LNB$DVB device %d uses LNB No."), i);
with
char tmp[40];
for (int i = 1; i <= cDevice::NumDevices(); i++) {
if (cDevice::GetDevice(i - 1)->ProvidesSource(cSource::stSat)) {
snprintf( tmp, 40, tr("Setup.LNB$DVB device %d uses LNB No."), i);
in menu.c.
Markus
More information about the vdr
mailing list