diff options
author | Cy Schubert <cy@FreeBSD.org> | 2018-04-03 19:36:00 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2018-04-03 19:36:00 +0000 |
commit | b0e4d68d5124581ae353493d69bea352de4cff8a (patch) | |
tree | 43300ec43e83eccd367fd76fdfdefba2dcd7d8f4 /src/lib/krb5/rcache/ser_rc.c | |
parent | 33a9b234e7087f573ef08cd7318c6497ba08b439 (diff) | |
download | src-test2-b0e4d68d5124581ae353493d69bea352de4cff8a.tar.gz src-test2-b0e4d68d5124581ae353493d69bea352de4cff8a.zip |
Notes
Diffstat (limited to 'src/lib/krb5/rcache/ser_rc.c')
-rw-r--r-- | src/lib/krb5/rcache/ser_rc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/krb5/rcache/ser_rc.c b/src/lib/krb5/rcache/ser_rc.c index 556af21e5e48..5c537f08a1cc 100644 --- a/src/lib/krb5/rcache/ser_rc.c +++ b/src/lib/krb5/rcache/ser_rc.c @@ -72,7 +72,7 @@ krb5_rcache_size(krb5_context kcontext, krb5_pointer arg, size_t *sizep) * krb5_int32 for KV5M_RCACHE */ required = sizeof(krb5_int32) * 3; - if (rcache->ops && rcache->ops->type) + if (rcache->ops) required += (strlen(rcache->ops->type)+1); /* |