2476a2db73
- SECURITY: don't create world readable files. CVE-2011-4919 - avoid conflicting prototypes
21 lines
586 B
Plaintext
21 lines
586 B
Plaintext
$OpenBSD: patch-unixunpk_c,v 1.4 2012/01/08 00:12:13 sthen Exp $
|
|
--- unixunpk.c.orig Mon Jul 21 21:51:55 2003
|
|
+++ unixunpk.c Sun Jan 8 00:04:32 2012
|
|
@@ -23,6 +23,7 @@
|
|
* SOFTWARE.
|
|
*/
|
|
#include <stdio.h>
|
|
+#include <stdlib.h>
|
|
#include "version.h"
|
|
#include "part.h"
|
|
|
|
@@ -100,7 +101,7 @@ int main(int argc, char **argv)
|
|
|
|
void usage(void) {
|
|
fprintf(stderr, "munpack version %s\n", MPACK_VERSION);
|
|
- fprintf(stderr, "usage: munpack [-f] [-q] [-C directory] [files...]\n");
|
|
+ fprintf(stderr, "usage: munpack [-f] [-q] [-t] [-C directory] [files...]\n");
|
|
exit(1);
|
|
}
|
|
|