#3861: mutt segfaults on scoring with ~X
------------------------+----------------------
  Reporter:  antonio@…  |      Owner:  mutt-dev
      Type:  defect     |     Status:  new
  Priority:  major      |  Milestone:
 Component:  display    |    Version:
Resolution:             |   Keywords:
------------------------+----------------------

Comment (by kevin8t8):

 The message scoring part of the manual says:

   "note: For efficiency reasons, patterns which scan information not
 available in the index, such as ~b, ~B or ~h, may not be used"

 Behind the scenes, this appears to mean anything that needs to use the
 context.  This is why it purposely passes NULL in for that parameter.

 ~b, ~B, and ~h check and guard for a NULL context, but it was missing for
 ~X.  So, although my "fix" probably won't please the reporter, I'm going
 to update the documentation, and basically block ~X from working when
 scoring.

--
Ticket URL: <https://dev.mutt.org/trac/ticket/3861#comment:2>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to