summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/crypto/err/err.c
diff options
context:
space:
mode:
authorho <ho@openbsd.org>2003-04-03 15:12:44 +0000
committerho <ho@openbsd.org>2003-04-03 15:12:44 +0000
commite4ba0ef689952c40cefc3f78b2a45b9b94f51320 (patch)
tree1391e2eefbcc48e8edd13c8f250e127ce15b07c1 /lib/libssl/src/crypto/err/err.c
parentqueue ID assignment algorith changed for PRIQ (diff)
downloadwireguard-openbsd-e4ba0ef689952c40cefc3f78b2a45b9b94f51320.tar.xz
wireguard-openbsd-e4ba0ef689952c40cefc3f78b2a45b9b94f51320.zip
str{cat,cpy}/sprintf cleanup. markus@, deraadt@ ok
Diffstat (limited to 'lib/libssl/src/crypto/err/err.c')
-rw-r--r--lib/libssl/src/crypto/err/err.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libssl/src/crypto/err/err.c b/lib/libssl/src/crypto/err/err.c
index 5abe44e6d57..9b532d1f4ca 100644
--- a/lib/libssl/src/crypto/err/err.c
+++ b/lib/libssl/src/crypto/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);