You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2022/03/01 02:41:45 UTC

[Bug 65922] New: modules/ssl/ssl_util_ssl.c: Add check for BIO_read

https://bz.apache.org/bugzilla/show_bug.cgi?id=65922

            Bug ID: 65922
           Summary: modules/ssl/ssl_util_ssl.c: Add check for BIO_read
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_ssl
          Assignee: bugs@httpd.apache.org
          Reporter: jiasheng@iscas.ac.cn
  Target Milestone: ---

Created attachment 38214
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=38214&action=edit
0001-modules-ssl-ssl_util_ssl-Add-check-for-BIO_read.patch

As the BIO_read() is not always success, it may even return
negative number.
Therefore, it should be better to check the return value
and return error if fails.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 65922] modules/ssl/ssl_util_ssl.c: Add check for BIO_read

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65922

Giovanni Bechis <gi...@paclan.it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All
           Keywords|                            |FixedInTrunk

--- Comment #1 from Giovanni Bechis <gi...@paclan.it> ---
Sending        modules/ssl/ssl_util_ssl.c
Transmitting file data .done
Committing transaction...
Committed revision 1910268.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org