php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77606 _stomp_recv blocking when data is in SSL buffer
Submitted: 2019-02-11 22:14 UTC Modified: -
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: dwarren at prodpartners dot com Assigned:
Status: Open Package: stomp (PECL)
PHP Version: Irrelevant OS: CentOS 7
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dwarren at prodpartners dot com
New email:
PHP Version: OS:

 

 [2019-02-11 22:14 UTC] dwarren at prodpartners dot com
Description:
------------
_stomp_recv can incorrectly block on the underlying file descriptor when the remainder of the frame is waiting in the OpenSSL buffer.  This causes read_frame to block until the timeout even though the data has already been returned.

Stomp version is 2.0.2 compiled with "./configure --with-openssl-dir".  PHP is 7.1.9, and OpenSSL is 1.0.2k-fips.

Patch attached fixes the problem on my system.


Patches

stomp-2.0.2-sslfix (last revision 2019-02-11 22:14 UTC by dwarren at prodpartners dot com)

Pull Requests

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Nov 22 03:01:27 2024 UTC