branch 2.1-pgp-smime: exception, undefined sigfilename

Bug #1317239 reported by Kai Engert
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman

Bug Description

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/", line 119, in _oneloop
    self._onefile(msg, msgdata)
  File "/usr/local/mmcrypto/Mailman/Queue/", line 190, in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/usr/local/mmcrypto/Mailman/Queue/", line 130, in _dispose
    more = self._dopipeline(mlist, msg, msgdata, pipeline)
  File "/usr/local/mmcrypto/Mailman/Queue/", line 153, in _dopipeline
    sys.modules[modname].process(mlist, msg, msgdata)
  File "/usr/local/mmcrypto/Mailman/Handlers/", line 318, in process
    key_ids.extend(gh.verifyMessage(payload, signature))
  File "/usr/local/mmcrypto/Mailman/", line 374, in verifyMessage
    if sigfilename:
UnboundLocalError: local variable 'sigfilename' referenced before assignment

I'll propose a patch to avoid the exception.

Revision history for this message
Kai Engert (kaie) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers