|  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: Assigned: jimjag (profile)
Status: Closed Package: gnupg (PECL)
PHP Version: 5.3.10 OS: Ubuntu Server 11.04
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.
Bug Type:
New email:
PHP Version: OS:


 [2012-02-21 02:56 UTC]
gnupg_keylistiterator segfaults on iteration.

Test script:
// 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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-02-11 18:41 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: jimjag
 [2015-02-11 18:41 UTC]
Fixed in 1.3.6. Please re-open if you still have problems
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Aug 09 11:05:50 2022 UTC