getaddrinfo: zero the hints structure
authorEmilia Kasper <emilia@openssl.org>
Fri, 19 Feb 2016 15:23:08 +0000 (16:23 +0100)
committerEmilia Kasper <emilia@openssl.org>
Fri, 19 Feb 2016 15:44:28 +0000 (16:44 +0100)
commitf0496ad71fbacccf5a95f40d31d251bc8cf9dcfb
tree4ee24f6b34c3024e1092161c3a413fc2b18aaea9
parenteaa7e483c509d46f455a9deb148bfaf34a8fcbe3
getaddrinfo: zero the hints structure

This silences the memory sanitizer. All fields were already correctly
initialized but the struct padding wasn't, causing an uninitialized read
warning.

Reviewed-by: Tim Hudson <tjh@openssl.org>
crypto/bio/b_addr.c