Copy buffer into bytestring.
diff --git a/OpenSSL/SSL.py b/OpenSSL/SSL.py
index 48e3790..e97df8b 100644
--- a/OpenSSL/SSL.py
+++ b/OpenSSL/SSL.py
@@ -869,7 +869,7 @@
 
             # The string passed to us is actually made up of multiple
             # length-prefixed bytestrings. We need to split that into a list.
-            instr = _ffi.buffer(in_, inlen)
+            instr = _ffi.buffer(in_, inlen)[:]
             protolist = []
             while instr:
                 l = indexbytes(instr, 0)