sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit 1490b37bd2c9256697a28312abb7be8d6b5ba636
parent c5f8294f632c909140732add5c7a2f4f40b8063c
Author: Evan Gates <evan.gates@gmail.com>
Date:   Mon, 15 Jun 2015 13:49:38 -0700

NULL terminate braces array in get_ok_arg

Diffstat:
Mfind.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/find.c b/find.c @@ -635,6 +635,7 @@ get_ok_arg(char *argv[], union extra *extra) for (arg = argv, braces = o->braces; *arg; arg++) if (!strcmp(*arg, "{}")) *braces++ = arg; + *braces = NULL; gflags.print = 0; return arg;