fetchmail-friends
[Top] [All Lists]

[fetchmail]fetchmail-5.7.5 unbreakage and POP3 passwd shrouding

2001-03-18 01:22:00
Hi,

It seems that the shrouding code was not sufficiently tested before
the release.  pop2.c refuses to compile due to a missed semicolon,
and there is no shrouding support for POP3.  See attached patch
for a fix.

G'luck,
Peter

-- 
If you think this sentence is confusing, then change one pig.

Index: pop2.c
===================================================================
RCS file: /home/cvsroot/roam/c/contrib/net/fetchmail/pop2.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 pop2.c
--- pop2.c      2001/03/18 07:42:08     1.1.1.2
+++ pop2.c      2001/03/18 08:20:17
@@ -56,7 +56,7 @@
 {
     int status;
 
-    strcpy(shroud, ctl->password)
+    strcpy(shroud, ctl->password);
     status = gen_transact(sock,
                  "HELO %s %s",
                  ctl->remotename, ctl->password);
Index: pop3.c
===================================================================
RCS file: /home/cvsroot/roam/c/contrib/net/fetchmail/pop3.c,v
retrieving revision 1.1.1.5
diff -u -r1.1.1.5 pop3.c
--- pop3.c      2001/03/18 07:42:08     1.1.1.5
+++ pop3.c      2001/03/18 08:20:17
@@ -132,6 +132,7 @@
     char *challenge;
 #endif /* OPIE_ENABLE */
 
+    strcpy(shroud, ctl->password);
 #ifdef SDPS_ENABLE
     /*
      * This needs to catch both demon.co.uk and demon.net.


<Prev in Thread] Current Thread [Next in Thread>
  • [fetchmail]fetchmail-5.7.5 unbreakage and POP3 passwd shrouding, Peter Pentchev <=