summaryrefslogtreecommitdiff
path: root/lib/libcrypto/err
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2003-04-03 15:12:46 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2003-04-03 15:12:46 +0000
commita83d91548b782b31428f3a231780f425aa81c05b (patch)
tree9513d9b3e5a77612072738d879f5330c4f86376a /lib/libcrypto/err
parent1dc30953e5865491c6b6892b8f8f5c842a2acc1c (diff)
str{cat,cpy}/sprintf cleanup. markus@, deraadt@ ok
Diffstat (limited to 'lib/libcrypto/err')
-rw-r--r--lib/libcrypto/err/err.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcrypto/err/err.c b/lib/libcrypto/err/err.c
index 5abe44e6d57..9b532d1f4ca 100644
--- a/lib/libcrypto/err/err.c
+++ b/lib/libcrypto/err/err.c
@@ -1023,7 +1023,7 @@ void ERR_add_error_data(int num, ...)
else
str=p;
}
- strcat(str,a);
+ strlcat(str,a,s+1);
}
}
ERR_set_error_data(str,ERR_TXT_MALLOCED|ERR_TXT_STRING);