php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #76996 Stomp segfaults when no username provided
Submitted: 2018-10-10 18:39 UTC Modified: -
Votes:2
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: nsossonko at hotmail dot com Assigned:
Status: Open Package: stomp (PECL)
PHP Version: 7.0.32 OS: Windows 10
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: nsossonko at hotmail dot com
New email:
PHP Version: OS:

 

 [2018-10-10 18:39 UTC] nsossonko at hotmail dot com
Description:
------------
When initializing stomp without a username it will segfault. See test script

Test script:
---------------
<?php
function mainAction() {
/* connection */
try {
$stomp = new \Stomp('tcp://localhost:61613');
} catch(\StompException $e) {
die('Connection failed: ' . $e->getMessage());
}

var_dump($stomp);
}

mainAction();
?>

Expected result:
----------------
Should not segfault


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 23:01:29 2024 UTC