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

 
 

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

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

Add a New Comment Rich Markup
   

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>
Group administrator
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>
Group administrator

 

(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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    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.13-f8d8.
    Corresponding source code