9172f424be
submitted upstream, PKGNAME bumped
13 lines
466 B
Plaintext
13 lines
466 B
Plaintext
$OpenBSD: patch-src_mail_uucode_cpp,v 1.1 2003/06/20 12:01:55 avsm Exp $
|
|
--- src/mail/uucode.cpp.orig Fri Jun 20 12:47:16 2003
|
|
+++ src/mail/uucode.cpp Fri Jun 20 12:48:05 2003
|
|
@@ -261,7 +261,7 @@ UUDecode::getNextFileName(void)
|
|
return NULL;
|
|
} while (strncmp(buf, "begin ", 6) != 0);
|
|
|
|
- sscanf(buf, "begin %o %1024s", &mode, path);
|
|
+ sscanf(buf, "begin %o %1023s", &mode, path);
|
|
path[sizeof(buf) - 1] = '\0';
|
|
|
|
if (mode == -1 || strlen(path) == 0) {
|