mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-01-01 20:25:28 +01:00
Don't print uninitialized buffer in ssl_mail_client
This commit is contained in:
parent
9a6b442cee
commit
42cc641159
2 changed files with 2 additions and 1 deletions
|
|
@ -352,7 +352,7 @@ static int write_and_get_response( int sock_fd, unsigned char *buf, size_t len )
|
|||
int main( int argc, char *argv[] )
|
||||
{
|
||||
int ret = 0, len, server_fd;
|
||||
unsigned char buf[1024];
|
||||
unsigned char buf[1024] = { 0 };
|
||||
#if defined(POLARSSL_BASE64_C)
|
||||
unsigned char base[1024];
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue