On Fri, Jun 20, 2014 at 12:13:00PM +0200, Thomas Schmitt wrote: > I would do > > - val_len = strlen(argv[0]) + 1; > - mkbuf(&buf, &buflen, val_len); > + val_len = strlen(argv[0]); > + mkbuf(&buf, &buflen, val_len + 1); I committed this. -- Emmanuel Dreyfus manu%netbsd.org@localhost