projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use BUF_strlcpy() instead of strcpy().
[openssl.git]
/
crypto
/
x509
/
x509_txt.c
diff --git
a/crypto/x509/x509_txt.c
b/crypto/x509/x509_txt.c
index 4f83db8ba2f5be03814a9c79a190f1684801cc40..5a945a70fb70c737e004e4a2f5e6eee6202cade3 100644
(file)
--- a/
crypto/x509/x509_txt.c
+++ b/
crypto/x509/x509_txt.c
@@
-148,7
+148,7
@@
const char *X509_verify_cert_error_string(long n)
return("unhandled critical extension");
default:
-
sprintf(
buf,"error number %ld",n);
+
BIO_snprintf(buf,sizeof
buf,"error number %ld",n);
return(buf);
}
}