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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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-2025 The PHP Group
All rights reserved.
Last updated: Tue Mar 11 19:01:31 2025 UTC