It isn't necessary to initialise a struct stat before a stat(2) system call.
authorPauli <paul.dale@oracle.com>
Fri, 29 Mar 2019 08:19:19 +0000 (18:19 +1000)
committerPauli <paul.dale@oracle.com>
Fri, 29 Mar 2019 10:52:00 +0000 (20:52 +1000)
commit2661d716d99fc1dd3240dcdbca6ab73d7b61a72b
tree1bd004bb84022b6f4f1d55a6d430cfdd92c3cd7d
parent64a45882c70e29a725c57894e7f80a6161f457bc
It isn't necessary to initialise a struct stat before a stat(2) system call.
The initialisation was also flawed, failing to account for padding and
alignment bytes.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8611)
crypto/conf/conf_def.c