aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2026-02-02 17:18:11 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2026-02-02 17:18:11 +0000
commit03d8ac948b1ad9c419b294c3129b7da58d818363 (patch)
treef0d882e2107edb1464bd3f966a6f27092f9ec7c3 /crypto
parent7f54c65abc67f50363bbd2a68a980d23e69c9ef0 (diff)
Diffstat (limited to 'crypto')
-rw-r--r--crypto/heimdal/kdc/mit_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/heimdal/kdc/mit_dump.c b/crypto/heimdal/kdc/mit_dump.c
index 4397d1ad897d..d790b145af11 100644
--- a/crypto/heimdal/kdc/mit_dump.c
+++ b/crypto/heimdal/kdc/mit_dump.c
@@ -116,7 +116,7 @@ my_fgetln(FILE *f, char **buf, size_t *sz, size_t *len)
return 0;
}
*len += strlen(&(*buf)[*len]); /* *len should be == *sz */
- n = realloc(buf, *sz + (*sz >> 1));
+ n = realloc(*buf, *sz + (*sz >> 1));
if (!n) {
free(*buf);
*buf = NULL;