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.
12 lines
308 B
Plaintext
12 lines
308 B
Plaintext
$OpenBSD: patch-magic_c,v 1.1 2002/08/09 01:15:19 naddy Exp $
|
|
--- magic.c.orig Fri Aug 9 02:36:58 2002
|
|
+++ magic.c Fri Aug 9 02:37:21 2002
|
|
@@ -23,6 +23,7 @@
|
|
* SOFTWARE.
|
|
*/
|
|
#include <stdio.h>
|
|
+#include <string.h>
|
|
|
|
/* Description of the various file formats and their magic numbers */
|
|
struct magic {
|