Hi again,

El jue, 09-03-2006 a las 18:31 +0100, Ola Lundqvist escribió:
> Hi
> 
> On Thu, Mar 09, 2006 at 09:51:30AM -0300, Javier Kohen wrote:
> ...CUT...
> > > only support their "corporate version" that have much better 
> > > authentication
> > > and other features. VNC is open source software without support from 
> > > upstream.
> > 
> > I see... I didn't know that about upstream.
> > 
> > Well, if you don't have time, let me know and I'll fix this.
> 
> I may have time, but if you are able to help with this I would be greatful.

I wouldn't mind if you pushed this patch as well. It warns the user that
only the first 8 characters that she input will be used.

Thanks,
-- 
Javier Kohen <[EMAIL PROTECTED]>
ICQ: blashyrkh #2361802
Jabber: [EMAIL PROTECTED]
--- unix/vncpasswd/vncpasswd.cxx~	2006-03-09 16:19:01.000000000 -0300
+++ unix/vncpasswd/vncpasswd.cxx	2006-03-09 16:20:16.000000000 -0300
@@ -117,6 +117,9 @@
       continue;
     }
 
+    if (strlen(passwd.buf) > 8)
+      fprintf(stderr,"Password too long - only the first 8 characters will be used\n");
+
     FILE* fp = fopen(fname,"w");
     if (!fp) {
       fprintf(stderr,"Couldn't open %s for writing\n",fname);

Attachment: signature.asc
Description: Esta parte del mensaje está firmada digitalmente

Reply via email to