Re: [Announce] LNB-sharing patch for VDR 1.4.0-3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux