[Kde-kiosk] Hostnames allowable in kdmrc
Oswald Buddenhagen
ossi at kde.org
Tue Jul 29 16:42:21 CEST 2003
On Tue, Jul 29, 2003 at 02:31:16PM +0200, Ragnar Wisloff wrote:
> > > So I guess someone pointed out this to the developers.
> > >
> > nope, i was not aware of this problem up to now ...
> > will fix asap ...
>
> Great!
>
and here we go.
you can now simply use [X-ltsp-010:0-Core].
> Will the fix be available for KDE 2.2.2 as well?
>
not in cvs - only grave security fixes still make it into 2.2.x.
but if the patch applies or you are able to make it apply ...
greetings
--
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.
-------------- next part --------------
Index: kdm_config.c
===================================================================
RCS file: /home/kde/kdebase/kdm/kfrontend/kdm_config.c,v
retrieving revision 1.36
diff -u -r1.36 kdm_config.c
--- kdm_config.c 28 Jun 2003 10:31:35 -0000 1.36
+++ kdm_config.c 29 Jul 2003 13:37:54 -0000
@@ -618,12 +618,13 @@
goto secfnd;
}
if (nstr[0] == 'X' && nstr[1] == '-') {
- for (dstr = nstr + 2, dlen = 0; ; dlen++) {
- if (dlen + 2 >= nlen)
- goto illsec;
- if (dstr[dlen] == '-')
- break;
- }
+ cstr = nstr + nlen;
+ clen = 0;
+ while (++clen, *--cstr != '-');
+ if (cstr == nstr + 1)
+ goto illsec;
+ dstr = nstr + 2;
+ dlen = nlen - clen - 2;
dhost = dstr;
dhostl = 0;
for (restl = dlen; restl; restl--) {
@@ -647,9 +648,7 @@
gotnum:
dclass = "*";
dclassl = 1;
- gotall:
- cstr = dstr + dlen;
- clen = nlen - dlen - 2;
+ gotall: ;
} else {
if (nstr[0] == '-')
goto illsec;
More information about the kde-kiosk
mailing list