From: merch-redmine@... Date: 2015-07-17T21:39:36+00:00 Subject: [ruby-core:70021] [Ruby trunk - Bug #11369] [Open] Check length of selected NPN protocol Issue #11369 has been reported by Jeremy Evans. ---------------------------------------- Bug #11369: Check length of selected NPN protocol https://bugs.ruby-lang.org/issues/11369 * 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: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- 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/