diff options
-rw-r--r-- | source3/client/smbspool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/client/smbspool.c b/source3/client/smbspool.c index 1efdc12a1b..04f293a8e6 100644 --- a/source3/client/smbspool.c +++ b/source3/client/smbspool.c @@ -29,9 +29,9 @@ #define TICKET_CC_DIR "/tmp" #define CC_PREFIX "krb5cc_" /* prefix of the ticket cache */ #define CC_MAX_FILE_LEN 24 -#define CC_MAX_FILE_PATH_LEN strlen(TICKET_CC_DIR)+ CC_MAX_FILE_LEN+2 +#define CC_MAX_FILE_PATH_LEN (sizeof(TICKET_CC_DIR)-1)+ CC_MAX_FILE_LEN+2 #define OVERWRITE 1 -#define KRB5CCNAME "KRB5CCNAME" +#define KRB5CCNAME "KRB5CCNAME" /* |