summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/err/err.c
diff options
context:
space:
mode:
authorho <>2003-04-03 15:12:45 +0000
committerho <>2003-04-03 15:12:45 +0000
commit6bb2106b98eb0674d6726bb6917cea8c27ed9d81 (patch)
tree88a75b48f8926e146a6634e21b828e7345486c8c /src/lib/libcrypto/err/err.c
parent030af986882598665482e3f4c559bdfd01f78eca (diff)
downloadopenbsd-6bb2106b98eb0674d6726bb6917cea8c27ed9d81.tar.gz
openbsd-6bb2106b98eb0674d6726bb6917cea8c27ed9d81.tar.bz2
openbsd-6bb2106b98eb0674d6726bb6917cea8c27ed9d81.zip
str{cat,cpy}/sprintf cleanup. markus@, deraadt@ ok
Diffstat (limited to 'src/lib/libcrypto/err/err.c')
-rw-r--r--src/lib/libcrypto/err/err.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/err/err.c b/src/lib/libcrypto/err/err.c
index 5abe44e6d5..9b532d1f4c 100644
--- a/src/lib/libcrypto/err/err.c
+++ b/src/lib/libcrypto/err/err.c
@@ -1023,7 +1023,7 @@ void ERR_add_error_data(int num, ...)
1023 else 1023 else
1024 str=p; 1024 str=p;
1025 } 1025 }
1026 strcat(str,a); 1026 strlcat(str,a,s+1);
1027 } 1027 }
1028 } 1028 }
1029 ERR_set_error_data(str,ERR_TXT_MALLOCED|ERR_TXT_STRING); 1029 ERR_set_error_data(str,ERR_TXT_MALLOCED|ERR_TXT_STRING);