diff options
Diffstat (limited to 'src/lib/libcrypto/err/err.c')
-rw-r--r-- | src/lib/libcrypto/err/err.c | 2 |
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); |