=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/patch/patch.c,v retrieving revision 1.63 retrieving revision 1.64 diff -u -r1.63 -r1.64 --- src/usr.bin/patch/patch.c 2016/01/04 14:09:46 1.63 +++ src/usr.bin/patch/patch.c 2017/06/12 14:23:26 1.64 @@ -1,4 +1,4 @@ -/* $OpenBSD: patch.c,v 1.63 2016/01/04 14:09:46 gsoares Exp $ */ +/* $OpenBSD: patch.c,v 1.64 2017/06/12 14:23:26 deraadt Exp $ */ /* * patch - a program to apply diffs to original files @@ -108,7 +108,7 @@ static bool reverse_flag_specified = false; /* buffer holding the name of the rejected patch file. */ -static char rejname[NAME_MAX + 1]; +static char rejname[PATH_MAX]; /* how many input lines have been irretractibly output */ static LINENUM last_frozen_line = 0;