Project

General

Profile

Actions

Bug #11369

closed

Check length of selected NPN protocol

Added by jeremyevans0 (Jeremy Evans) almost 9 years ago. Updated over 8 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.3.0dev (2015-07-16 openbsd 51261) [x86_64-openbsd]
[ruby-core:70021]

Description

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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0