Issue #11369 has been updated by Yui NARUSE.

Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN to 2.0.0: REQUIRED, 2.1: REQUIRED, 2.2: REQUIRED

----------------------------------------
Bug #11369: Check length of selected NPN protocol
https://bugs.ruby-lang.org/issues/11369#change-54532

* Author: Jeremy Evans
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: ruby 2.3.0dev (2015-07-16 openbsd 51261) [x86_64-openbsd]
* Backport: 2.0.0: REQUIRED, 2.1: REQUIRED, 2.2: REQUIRED
----------------------------------------
This fixes a failure when running on LibreSSL, where an exception
wouldn't be raised if the callback returned a selected protocol
that was too long (more than 255 bytes).  Instead, it would silently
truncate the selected protocol by casting the length from int to
unsigned char.

---Files--------------------------------
0007-Check-length-of-selected-NPN-protocol.patch (1.12 KB)


-- 
https://bugs.ruby-lang.org/