commit | e6941c7814bb25729d65e1f8e87d1c110a0cbe7e | [log] [tgz] |
---|---|---|
author | Matt Caswell <matt@openssl.org> | Sat Mar 04 23:58:03 2017 +0000 |
committer | Matt Caswell <matt@openssl.org> | Sat Mar 04 23:58:03 2017 +0000 |
tree | 2a1b30107ce599aa7132b5ea4cc405f5f38c4c6a | |
parent | ee7002266cbdcfcfe002c94396795c9fb3d5a337 [diff] |
Don't call memcmp with a NULL pointer If early data is sent to a server, but ALPN is not used then memcmp is called with a NULL pointer which is undefined behaviour. Fixes #2841 Reviewed-by: Kurt Roeckx <kurt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2845)