#3831: Crash Bug due to unchecked SSL_CTX_new
-----------------------+----------------------
  Reporter:  yujokang  |      Owner:  mutt-dev
      Type:  defect    |     Status:  reopened
  Priority:  major     |  Milestone:
 Component:  crypto    |    Version:  1.6.0
Resolution:            |   Keywords:
-----------------------+----------------------

Comment (by kevin8t8):

 I'll be glad to (and probably should have) add an error message, but just
 letting the NULL go by isn't likely to give you any information except
 that data->ctx is NULL; the error already occurred and popped off the call
 stack by the time we get a segfault.

 Adding more debugging information is a bit involved, using BIO's and
 ERR_print_errors.  As you said no one has reported a crash here in the
 history of mutt, but I'll add a debug method based on
 https://en.wikibooks.org/wiki/OpenSSL/Error_handling, using dprint instead
 of returning the string.

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

Reply via email to