This patch has been in Debian for a long time.

diff -ru sharutils-4.2/src/uudecode.c~ sharutils-4.2/src/uudecode.c
--- sharutils-4.2/src/uudecode.c~       Fri Dec  1 19:14:14 1995
+++ sharutils-4.2/src/uudecode.c        Fri Jun 25 15:08:33 1999
@@ -292,12 +292,12 @@
 
       if (strncmp (buf, "begin", 5) == 0)
        {
-         if (sscanf (buf, "begin-base64 %o %s", &mode, buf) == 2)
+         if (sscanf (buf, "begin-base64 %o %[^\n]", &mode, buf) == 2)
            {
              do_base64 = 1;
              break;
            }
-         else if (sscanf (buf, "begin %o %s", &mode, buf) == 2)
+         else if (sscanf (buf, "begin %o %[^\n]", &mode, buf) == 2)
            break;
        }
     }

I also have a patch to ange-ftp.el in emacs to go with it.  Stallman
said it wouldn't make it into version 20.4, though, so here it is:

diff -ru emacs-20.3/lisp/ange-ftp.el~ emacs-20.3/lisp/ange-ftp.el
--- emacs-20.3/lisp/ange-ftp.el~        Mon Aug 17 21:38:45 1998
+++ emacs-20.3/lisp/ange-ftp.el Tue Jun 29 09:54:07 1999
@@ -3529,7 +3529,7 @@
              (ange-ftp-send-cmd
               f-host
               f-user
-              (list 'get f-name (or temp1 newname))
+              (list 'get f-name (or temp1 (ange-ftp-quote-string newname)))
               (or msg
                   (if (and temp1 t-parsed)
                       (format "Getting %s" f-abbr)


-- 
David Fox           http://hci.ucsd.edu/dsf             xoF divaD
UCSD HCI Lab                                         baL ICH DSCU

-- 
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to