> On Aug 17, 2017, at 09:47, Greg Kroah-Hartman
> wrote:
>
> On Mon, Aug 14, 2017 at 04:01:17PM +0100, James Simmons wrote:
>>
>>> We want to concatonate join string one, a '/' character, string two and
>>> then a NUL terminator. The destination buffer holds
On Mon, Aug 14, 2017 at 04:01:17PM +0100, James Simmons wrote:
>
> > We want to concatonate join string one, a '/' character, string two and
> > then a NUL terminator. The destination buffer holds ori_gf->gf_pathlen
> > characters. The strlen() function returns the number of characters not
> >
> We want to concatonate join string one, a '/' character, string two and
> then a NUL terminator. The destination buffer holds ori_gf->gf_pathlen
> characters. The strlen() function returns the number of characters not
> counting the NUL terminator. So we should be adding two extra spaces,
>