svn commit: samba r24157 - in branches/SAMBA_4_0/source/winbind: .

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Aug 3 14:05:44 GMT 2007


On Fri, Aug 03, 2007 at 01:51:13PM +0000, kai at samba.org wrote:
>  #define WBSRV_SAMBA3_SET_STRING(dest, src) do { \
> -	strncpy(dest, src, sizeof(dest)-1);\
> +	safe_strcpy(dest, src, sizeof(dest)-1);\

Why not strlcpy?

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20070803/9c73ae00/attachment.bin


More information about the samba-technical mailing list