[SSSD] SSSD Test Suite Coverage

Jakub Hrozek jhrozek at redhat.com
Mon Apr 8 21:46:32 UTC 2013


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.



More information about the sssd-devel mailing list