Mercurial > dropbear
view ltc_prng.h @ 1002:97d1e54941fd
When clearing the memory of 'key' in function openssh_read(), only the size
of the pointer to the data instead of the whole size of struct openssh_key
is cleared. Correct the size calculation as detected by Coverity CID 1191543.
author | Christian Engelmayer <cengelma@gmx.at> |
---|---|
date | Wed, 28 Jan 2015 22:42:29 +0800 |
parents | c19acba28590 |
children | deed0571cacc |
line wrap: on
line source
#ifndef _LTC_PRNG_H_DROPBEAR #define _LTC_PRNG_H_DROPBEAR #include "options.h" #include "includes.h" #ifdef DROPBEAR_LTC_PRNG extern const struct ltc_prng_descriptor dropbear_prng_desc; #endif /* DROPBEAR_LTC_PRNG */ #endif /* _LTC_PRNG_H_DROPBEAR */