sbase

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

commit 5dab8bbfa9ff0ae67c02ebf14b7e46c1d8d642e9
parent 015fb69f01793f7d322936ac336b360ddbad2c7e
Author: Wolfgang Corcoran-Mathe <first.lord.of.teal@gmail.com>
Date:   Sat, 11 Jul 2015 14:17:22 -0400

find: NULL terminate braces array in exec primary

Diffstat:
Mfind.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;