On Thu, Jun 2, 2011 at 5:15 PM, Robert William Fuller <
[email protected]> wrote:

> Hi,
>
> Was the sprintf patch applied?


Yes.


> Some of the lines, such as this one:
>
> +      snprintf(volpath, 256, "%s/s0", globbuf.gl_pathv[i]);
>
> Should probably be like this instead:
>
> +      snprintf(volpath, sizeof(volpath), "%s/s0", globbuf.gl_pathv[i]);
>

Yes,  I made changes like this when I applied the patch.

>
> But, that is just my opinion....  I am not a fan of redundancy.
>

Me neither - or is that redundant?

>
> Thoughts?  Thank you!
>
> Rob
>
>

Reply via email to