tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ffsv2 extattr support



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


Home | Main Index | Thread Index | Old Index