2476a2db73
- SECURITY: don't create world readable files. CVE-2011-4919 - avoid conflicting prototypes
13 lines
299 B
Plaintext
13 lines
299 B
Plaintext
$OpenBSD: patch-xmalloc_c,v 1.1 2012/01/08 00:12:13 sthen Exp $
|
|
--- xmalloc.c.orig Sun Jan 8 00:04:35 2012
|
|
+++ xmalloc.c Sun Jan 8 00:04:44 2012
|
|
@@ -24,7 +24,7 @@
|
|
*/
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
-extern char *malloc(), *realloc();
|
|
+#include <stdlib.h>
|
|
|
|
char *xmalloc (int size)
|
|
{
|