[openssl] master update

Dr. Paul Dale pauli at openssl.org
Sat May 8 05:03:04 UTC 2021


The branch master has been updated
       via  531df8185ff4a083aca550b2c8a56d7993b2c60d (commit)
      from  9b53932b6fb359ad2063a640a3db3d2c5f44cfaa (commit)


- Log -----------------------------------------------------------------
commit 531df8185ff4a083aca550b2c8a56d7993b2c60d
Author: Scott McPeak <scott.g.mcpeak at gmail.com>
Date:   Fri Apr 23 03:31:54 2021 -0700

    BIO_printf.pod: Clarify that output is always null terminated.
    
    The original text was ambiguous about termination for errors other
    than insufficient space.  See issue #14772.
    
    Reviewed-by: Tomas Mraz <tomas at openssl.org>
    Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
    Reviewed-by: Paul Dale <pauli at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/15000)

-----------------------------------------------------------------------

Summary of changes:
 doc/man3/BIO_printf.pod | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/doc/man3/BIO_printf.pod b/doc/man3/BIO_printf.pod
index d7a59a36fd..221881d123 100644
--- a/doc/man3/BIO_printf.pod
+++ b/doc/man3/BIO_printf.pod
@@ -40,9 +40,10 @@ buffer is too small.
 
 =head1 NOTES
 
-Except when I<n> is 0, both BIO_snprintf() and BIO_vsnprintf() terminate
-their output with C<'\0'> even when there is insufficient space to output
-the whole string.
+Except when I<n> is 0, both BIO_snprintf() and BIO_vsnprintf() always
+terminate their output with C<'\0'>.  This includes cases where -1 is
+returned, such as when there is insufficient space to output the whole
+string.
 
 =head1 COPYRIGHT
 


More information about the openssl-commits mailing list