diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-13 21:03:07 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-13 21:03:07 +0100 |
commit | 8fbd420dce8836e6503b162092e07b6a77a89f1d (patch) | |
tree | 071c621ef44d7c1b24a430ac7671d68963b5a4cf /dev-util/indent/files/indent-2.2.11-segfault.patch | |
parent | 12d78242dec4f785d0a0bfb1c00eee2d8996c53b (diff) |
gentoo resync : 13.10.2017
Diffstat (limited to 'dev-util/indent/files/indent-2.2.11-segfault.patch')
-rw-r--r-- | dev-util/indent/files/indent-2.2.11-segfault.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-util/indent/files/indent-2.2.11-segfault.patch b/dev-util/indent/files/indent-2.2.11-segfault.patch new file mode 100644 index 000000000000..e91922480951 --- /dev/null +++ b/dev-util/indent/files/indent-2.2.11-segfault.patch @@ -0,0 +1,16 @@ +--- a/man/texinfo2man.c ++++ b/man/texinfo2man.c +@@ -287,6 +287,13 @@ + char buf[1024]; + int line_no = 0; + ++ if (argc != 3) ++ { ++ fprintf(stderr, "Usage: %s <man template> <info file>\n", argv[0]); ++ fprintf(stderr, " The man page will be written to stdout.\n"); ++ return -1; ++ } ++ + texinfoname = argv[2]; + + in = fopen (argv[2], "r"); |