[Bug 1317239] [NEW] branch 2.1-pgp-smime: exception, undefined sigfilename

Kai Engert kaie at kuix.de
Wed May 7 21:03:54 CEST 2014

Public bug reported:

This  bug report is specific to branch

When receiving certain messages, python throws this exception:

Uncaught runner exception: local variable 'sigfilename' referenced before assignment
Traceback (most recent call last):
  File "/usr/local/mmcrypto/Mailman/Queue/Runner.py", line 119, in _oneloop
    self._onefile(msg, msgdata)
  File "/usr/local/mmcrypto/Mailman/Queue/Runner.py", line 190, in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/usr/local/mmcrypto/Mailman/Queue/IncomingRunner.py", line 130, in _dispose
    more = self._dopipeline(mlist, msg, msgdata, pipeline)
  File "/usr/local/mmcrypto/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline
    sys.modules[modname].process(mlist, msg, msgdata)
  File "/usr/local/mmcrypto/Mailman/Handlers/Moderate.py", line 318, in process
    key_ids.extend(gh.verifyMessage(payload, signature))
  File "/usr/local/mmcrypto/Mailman/GPGUtils.py", line 374, in verifyMessage
    if sigfilename:
UnboundLocalError: local variable 'sigfilename' referenced before assignment

I'll propose a patch to avoid the exception.

** Affects: mailman
     Importance: Undecided
         Status: New

** Attachment added: "ensure sigfilename is defined"

You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.

  branch 2.1-pgp-smime: exception, undefined sigfilename

To manage notifications about this bug go to:

More information about the Mailman-coders mailing list