bugWeeChat - Bugs: bug #28752, Crash when connecting to irc...

 
 

bug #28752: Crash when connecting to irc server with ssl and ssl_cert set

Submitted by:  Sebastien Helleu <flashcode>
Submitted on:  Thu 28 Jan 2010 08:48:28 AM UTC  
 
Category:  irc plugin Severity:  4 - Important
Item Group:  crash Status:  Fixed
Privacy:  Public Assigned to:  Sebastien Helleu <flashcode>
Originator Name:  Open/Closed:  Closed
Release:  0.3.1 IRC nick:  FlashCode

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 29 Jan 2010 11:49:12 AM UTC, comment #1:

Problem was use of local variables in gnutls callback, which were still used after end of callback by gnutls. And so they were destroyed when exiting callback, and gnutls uses bad pointer.

Fix: move these 2 variables (tls_cert and tls_cert_key) into server structure, so that they are still available for gnutls even after end of callback.

Version 0.3.1.1 will be released soon with this fix + bug #28741 (another bug in gnutls callback).

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Thu 28 Jan 2010 08:48:28 AM UTC, original submission:

WeeChat crashes (in gnutls lib) when connecting to irc server with ssl and if ssl_cert is set.

There is crash only if WeeChat is compiled with debug (cmake -DCMAKE_BUILD_TYPE=Debug). No crash if WeeChat is compiled without debug, for example for release (cmake -DCMAKE_BUILD_TYPE=Release).

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by flashcode (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-04-19 flashcode Open/ClosedOpen => Closed
    2010-01-29 flashcode StatusIn Progress => Fixed

    Back to the top


    Powered by Savane 3.4