Am 23. Oktober 2006 20:34 schrieb Matthias Lötzke Matthias@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...
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