mainGnuTLS - Support: sr #108690, gnutls 3.1.27 breaks use of...

 
 

sr #108690: gnutls 3.1.27 breaks use of GNUTLS_E_GOT_APPLICATION_DATA

Submitter:  None
Submitted:  Fri 21 Nov 2014 03:48:32 PM UTC
   
 
Category:  Core library Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Closed
Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 21 Nov 2014 07:45:23 PM UTC, comment #1: 

Thank you for noticing and for the reproducer. It is indeed a regression which treats that error as fatal. I'll commit a fix.

Nikos Mavrogiannopoulos <nmav>
Group administrator
Fri 21 Nov 2014 03:48:32 PM UTC, original submission:  

In 3.1.27, it appears to no longer be possible to process application data packets received when a rehandshake was expected.

The attached programs splits itself into a client and server. The server requests a rehandshake immediately after the first handshake, but tries to handle application data packets received before the rehandshake begins. The client writes data immediately after the first handshake, and only processes the rehandshake request after that.

With 3.1.26, I get:

  danw@laptop:Desktop> ./rehandshake-test
  GNUTLS_E_GOT_APPLICATION_DATA:
  hello
  server rehandshaked

but with 3.1.27 or 3.1.28:

  danw@laptop:Desktop> ./rehandshake-test
  GNUTLS_E_GOT_APPLICATION_DATA:
  server read app data: GnuTLS error: The specified session has been invalidated for some reason.


Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #32517:  rehandshake-test.c added by None (8KiB - text/x-csrc)

 

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 None (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-12-11 nmav StatusNone Done
        Open/ClosedOpen Closed
    2014-11-21 None Attached File- Added rehandshake-test.c, #32517

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code