[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
uudecode bug [PATCH]
From: |
Richard Guenther |
Subject: |
uudecode bug [PATCH] |
Date: |
Thu, 29 Mar 2001 17:56:28 +0200 (CEST) |
Hi!
There's a (harmless) bug in uudecode.c that doesnt catch
data after end of data errors. Patch is appended below.
Richard.
--
Richard Guenther <address@hidden>
WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/
The GLAME Project: http://www.glame.de/
--- uudecode.c.orig Thu Mar 29 17:53:48 2001
+++ uudecode.c Thu Mar 29 17:54:05 2001
@@ -185,10 +185,10 @@
'\177', '\177', '\177', '\177', '\177', '\177', '\177', '\177', /*370-377*/
};
unsigned char buf[2 * BUFSIZ];
+ int last_data = 0;
while (1)
{
- int last_data = 0;
unsigned char *p;
if (fgets (buf, sizeof(buf), stdin) == NULL)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- uudecode bug [PATCH],
Richard Guenther <=
- Prev by Date:
P,H,E,R,O,M,O,N,E,S M.E_E*T M`O~R*E' W_O,M~E,N E~A:S_I~L.Y!! ! I,N.S-T`A,N.T- S,E*X A,P.P-E`AL 9928
- Next by Date:
problem with GNU tar on NT
- Previous by thread:
P,H,E,R,O,M,O,N,E,S M.E_E*T M`O~R*E' W_O,M~E,N E~A:S_I~L.Y!! ! I,N.S-T`A,N.T- S,E*X A,P.P-E`AL 9928
- Next by thread:
po-mode.el installs in /
- Index(es):