mirror of
https://github.com/samba-team/samba.git
synced 2025-02-12 21:58:10 +03:00
Integrate with PSTRING_SANCTIFY.
This commit is contained in:
parent
bf513668cb
commit
20a03facb6
@ -37,10 +37,10 @@
|
|||||||
#endif /* sprintf */
|
#endif /* sprintf */
|
||||||
#define sprintf __ERROR__XX__NEVER_USE_SPRINTF__;
|
#define sprintf __ERROR__XX__NEVER_USE_SPRINTF__;
|
||||||
|
|
||||||
#define pstrcpy(d,s) safe_strcpy((d),(s),sizeof(pstring)-1)
|
#define pstrcpy(d,s) safe_strcpy(PSTR_MUTABLE(d), (s),sizeof(pstring)-1)
|
||||||
#define pstrcat(d,s) safe_strcat((d),(s),sizeof(pstring)-1)
|
#define pstrcat(d,s) safe_strcat(PSTR_MUTABLE(d), (s),sizeof(pstring)-1)
|
||||||
#define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1)
|
#define fstrcpy(d,s) safe_strcpy(FSTR_MUTABLE(d),(s),sizeof(fstring)-1)
|
||||||
#define fstrcat(d,s) safe_strcat((d),(s),sizeof(fstring)-1)
|
#define fstrcat(d,s) safe_strcat(FSTR_MUTABLE(d),(s),sizeof(fstring)-1)
|
||||||
|
|
||||||
#define wpstrcpy(d,s) safe_strcpy_w((d),(s),sizeof(wpstring))
|
#define wpstrcpy(d,s) safe_strcpy_w((d),(s),sizeof(wpstring))
|
||||||
#define wpstrcat(d,s) safe_strcat_w((d),(s),sizeof(wpstring))
|
#define wpstrcat(d,s) safe_strcat_w((d),(s),sizeof(wpstring))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user