php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61150 Segmentation Fault on gnupg_keylistiterator
Submitted: 2012-02-21 02:56 UTC Modified: 2015-02-11 18:41 UTC
From: frozenfire@php.net Assigned: jimjag (profile)
Status: Closed Package: gnupg (PECL)
PHP Version: 5.3.10 OS: Ubuntu Server 11.04
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
43 - 6 = ?
Subscribe to this entry?

 
 [2012-02-21 02:56 UTC] frozenfire@php.net
Description:
------------
gnupg_keylistiterator segfaults on iteration.

Test script:
---------------
<?php
// create a new iterator for listing all public keys that matches 'example'
$iterator = new gnupg_keylistiterator("example");
echo "test";
foreach($iterator as $fingerprint => $userid){
    echo $fingerprint." -> ".$userid."\n";
}
?>

Expected result:
----------------
fingerprint -> userid

Actual result:
--------------
Segmentation fault

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-02-11 18:41 UTC] jimjag@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: jimjag
 [2015-02-11 18:41 UTC] jimjag@php.net
Fixed in 1.3.6. Please re-open if you still have problems
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Thu Jun 20 19:01:26 2019 UTC