sbase

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

commit f77965eb42376a829bee8300ef38a461bbceab63
parent c9c4939db89ce6c7eef46d46145ddaacf910e70a
Author: Wolfgang Corcoran-Mathe <first.lord.of.teal@gmail.com>
Date:   Sat Jul 11 14:17:22 -0400

find: NULL terminate braces array in exec primary

Diffstat:
find.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/find.c b/find.c @@ -607,6 +607,7 @@ get_exec_arg(char *argv[], union extra *extra) for (arg = argv, braces = e->u.s.braces; *arg; arg++) if (!strcmp(*arg, "{}")) *braces++ = arg; + *braces = NULL; } gflags.print = 0; return arg;