78b1720bcc
* Fix buffer overflow. (Obtained from Debian) * Strip leading "../" when creating new files. (Obtained from Debian) Clean-up by yours truly: * Parameter parsing fix. (Obtained from Debian) * Prefer native getopt() and MD5 functions over the included ones. * Make munpack synopsis agree with actual parameters. * Respect CC.
14 lines
419 B
Plaintext
14 lines
419 B
Plaintext
$OpenBSD: patch-codes_c,v 1.1 2002/08/09 01:15:19 naddy Exp $
|
|
--- codes.c.orig Fri Aug 9 02:55:28 2002
|
|
+++ codes.c Fri Aug 9 02:56:20 2002
|
|
@@ -38,8 +38,8 @@ WITHOUT ANY EXPRESS OR IMPLIED WARRANTIE
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <ctype.h>
|
|
+#include <md5.h>
|
|
#include "xmalloc.h"
|
|
-#include "md5.h"
|
|
|
|
static char basis_64[] =
|
|
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|