diff options
Diffstat (limited to 'ssl/quic')
-rw-r--r-- | ssl/quic/qlog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/quic/qlog.c b/ssl/quic/qlog.c index 2cfa9af9d3..c14d53eece 100644 --- a/ssl/quic/qlog.c +++ b/ssl/quic/qlog.c @@ -130,7 +130,7 @@ QLOG *ossl_qlog_new_from_env(const QLOG_TRACE_INFO *info) filename[l++] = qlogdir_sep; for (i = 0; i < info->odcid.id_len; ++i) - l += sprintf(filename + l, "%02x", info->odcid.id[i]); + l += BIO_snprintf(filename + l, strl - l, "%02x", info->odcid.id[i]); l += BIO_snprintf(filename + l, strl - l, "_%s.sqlog", info->is_server ? "server" : "client"); |