|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 Patcheskdxrrcqg (last revision 2017-01-16 16:07 UTC by sample at email dot tst)Pull RequestsHistoryAllCommentsChangesGit/SVN commits              [2017-02-06 07:07 UTC] mhagstrand at gmail dot com
  [2017-05-23 18:24 UTC] ex at laodc dot com
  [2021-01-14 13:11 UTC] cmb@php.net
 
-Status:      Open
+Status:      Closed
-Assigned To:
+Assigned To: cmb
  [2021-01-14 13:11 UTC] cmb@php.net
 | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Thu Oct 30 23:00:01 2025 UTC | 
Description: ------------ calling to ssh2_shell() causes a segment fault. Test script: --------------- #!/usr/bin/php <?php if (!$ssh = ssh2_connect('host', 22)) { die('Error trying connect to ssh host'); }; if (!ssh2_auth_password($ssh, 'username', 'thepass')) { die('Authentication by userpass failed'); } if (!$shell = ssh2_shell($ssh, 'vanilla',array(),80, 25,SSH2_TERM_UNIT_CHARS)) { die('Interactive shell failed'); } Expected result: ---------------- with previous versions I got an interactive stream from ssh2_shell() Actual result: -------------- segment fault.