openbsd-ports/converters/mpack/patches/patch-encode_c
sthen 2476a2db73 update to mpack 1.6 plus various patches from Sebastian Pipping:
- SECURITY: don't create world readable files. CVE-2011-4919
- avoid conflicting prototypes
2012-01-08 00:12:12 +00:00

12 lines
301 B
Plaintext

$OpenBSD: patch-encode_c,v 1.1 2012/01/08 00:12:13 sthen Exp $
--- encode.c.orig Sun Jan 8 00:03:01 2012
+++ encode.c Sun Jan 8 00:03:09 2012
@@ -24,6 +24,7 @@
*/
#include <stdio.h>
#include <string.h>
+#include <stdlib.h>
extern char *magic_look(FILE *infile);
extern char *os_genid(void);