mainGnuTLS - Support: sr #107409, The lack of built-in threading...

 
 

sr #107409: The lack of built-in threading support is a critical design flaw

Submitter:  Michael Sweet <printman>
Submitted:  Thu 24 Jun 2010 03:55:47 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  5 - Blocker Status:  Done
Privacy:  Public Assigned to:  nmav
Open/Closed:  Closed Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 12 Jul 2010 04:59:22 PM UTC, comment #2: 

Thanks, will do some testing and get back to you...

Michael Sweet <printman>
Sat 03 Jul 2010 10:37:46 AM UTC, comment #1: 

We are planning on a major change in the backend crypto library in 2.11.x version of gnutls, which will have threading support included. The current code is available for testing under daily builds (http://daily.josefsson.org/gnutls/) and git. You can help us by testing whether the changes in the new branch fix your issue.


Nikos Mavrogiannopoulos <nmav>
Group administrator
Thu 24 Jun 2010 03:55:47 PM UTC, original submission:  

Recent bug traffic for CUPS and Firefox has revealed a critical design flaw in the GNU TLS libraries. Basically, GNU TLS currently requires the calling application or library to register threading functions if they plan on using GNU TLS from multiple threads. If both the application and library do this, the inevitable result is that the application will crash. In the case of Firefox, we get a double-whammy because they dlopen and dlclose libcups, so the functions that libcups register with GNU TLS now point to potentially unmapped address spaces.

GNU TLS really needs to implement its own threading support in order for multi-threaded applications to use it safely.

Michael Sweet <printman>

 

(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 nmav (Posted a comment)
  • -email is unavailable- added by printman (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-04-10 nmav StatusIn Progress Done
        Open/ClosedOpen Closed
    2010-07-03 nmav Assigned toNone nmav
        StatusNone In Progress

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code