Re: [hackers] [sbase] [PATCH v2] mount: fix mount helper fs option handling

From: Dimitris Papastamos <sin_AT_2f30.org>
Date: Thu, 11 Feb 2016 09:46:57 +0000

On Thu, Feb 11, 2016 at 12:41:33AM -0600, Brad Barden wrote:
> + if (strlcat(fsopts, EARGF(usage()), sizeof(fsopts)) > sizeof(fsopts))
> + eprintf("option string too long\n");

Thanks for the patch.

The conditional should be >= sizeof(fsopts). Can you resend with the
updated code?
Received on Thu Feb 11 2016 - 10:46:57 CET

This archive was generated by hypermail 2.3.0 : Thu Feb 11 2016 - 10:48:13 CET