Prevent undefined behavior in memcpy call.
authorRoberto Guimaraes <rguimaraes@fastly.com>
Wed, 8 Mar 2017 14:54:04 +0000 (09:54 -0500)
committerRich Salz <rsalz@openssl.org>
Wed, 8 Mar 2017 14:55:39 +0000 (09:55 -0500)
commit178b9be8eccffca66434299bf986494c449b10ee
treeea02929eb64084b01ddddd96d0c34261516f80e5
parent5c09502be4821a36e7023f74223386f77c2b2d14
Prevent undefined behavior in memcpy call.

CLA: trivial

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2750)
(cherry picked from commit 6aad9393680ccde591905c8d71da92a241756394)
ssl/ssl_sess.c