gnutls_server_name_set() doesn't honour input length

Bug #1762710 reported by dwmw2
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnutls28 (Ubuntu)
New
Undecided
Unassigned

Bug Description

 gnutls_server_name_set(sess, GNUTLS_NAME_DNS, "stophere.please", 8);

Length 8. That's supposed to set the SNI to "stophere". It doesn't in 16.04's 3.4.10-4ubuntu1.4

See attached test case.

This was supposed to be fixed upstream with commit c1334fee5ee, I thought.

Revision history for this message
dwmw2 (dwmw2) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.