plug another bad boundary value; string size was 4069, used 4096 for the bound

This commit is contained in:
avsm 2003-04-15 15:50:11 +00:00
parent 20a997dcf9
commit ea66de8a0c

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-mkbind_c,v 1.1 2003/04/15 15:50:11 avsm Exp $
--- mkbind.c.orig Tue Apr 15 16:47:09 2003
+++ mkbind.c Tue Apr 15 16:47:24 2003
@@ -86,7 +86,7 @@ int
main(int argc, char **argv)
{
FILE *fin, *fout;
- char line[4069], *p, *tok, **args;
+ char line[4096], *p, *tok, **args;
char tmp[128];
struct binding *b;
int i, j, off, argoff, len;