Hi Jakub,

Please check this patch.


On Tue, Apr 9, 2013 at 3:16 AM, Jakub Hrozek <jhrozek@redhat.com> wrote:
On Tue, Apr 09, 2013 at 03:13:20AM +0530, Abhishek Singh wrote:
> Hi Jakub,
>
> >You should also pass PATH_MAX-1 not PATH_MAX as the third argument of
> >snprintf, otherwise you risk a off-by-one error in case the buffers had
> >the same length.
>
> snprintf ? Do you mean strncpy instead of instead of snprintf? since I
> haven't used snprintf in my code.
>

Yes, strncpy. Sorry.
_______________________________________________
sssd-devel mailing list
sssd-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/sssd-devel