svn commit: samba r24157 - in
branches/SAMBA_4_0/source/winbind: .
Kai Blin
kai at samba.org
Fri Aug 3 14:26:01 GMT 2007
On Friday 03 August 2007 16:05:44 Volker Lendecke wrote:
> 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?
Metze told me to use safe_strcpy. That's about it.
Cheers,
Kai
--
Kai Blin
WorldForge developer http://www.worldforge.org/
Wine developer http://wiki.winehq.org/KaiBlin
Samba team member http://www.samba.org/samba/team/
--
Will code for cotton.
-------------- 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/0b045644/attachment.bin
More information about the samba-technical
mailing list