[SSSD] SSSD Test Suite Coverage

Abhishek Singh abhishekkumarsingh.cse at gmail.com
Mon Apr 8 22:02:04 UTC 2013


Hi Jakub,

Please check this patch.


On Tue, Apr 9, 2013 at 3:16 AM, Jakub Hrozek <jhrozek at 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 at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/sssd-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20130409/210d68ad/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-cmocka-unittest-for-io-added.patch
Type: application/octet-stream
Size: 5090 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20130409/210d68ad/attachment.obj>


More information about the sssd-devel mailing list