Re: [PATCH 02/11] gssd: Fix cccache buffer size

Doug Nazar
2020-07-20T16:43:36Z

On 2020-07-20 10:43, Steve Dickson wrote:
> Thanks for point this out but I think I'm going to go with this:
> - char buf[PATH_MAX+4+2+256];
> + /* dirname + cctype + d_name + NULL */
> + char buf[PATH_MAX+5+256+1];
>
> which explains the needed space and as well removes the warning...

That's fine. I didn't spend much time wondering why it was written that
way, just assumed there was a reason.

Doug