mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 19:54:40 +02:00
Fix for possible uninitialized memSz
in bio.c
This commit is contained in:
@@ -1310,9 +1310,8 @@ int wolfSSL_BIO_get_len(WOLFSSL_BIO *bio)
|
|||||||
{
|
{
|
||||||
int len;
|
int len;
|
||||||
#ifndef NO_FILESYSTEM
|
#ifndef NO_FILESYSTEM
|
||||||
long memSz;
|
long memSz = 0, curr = 0;
|
||||||
XFILE file;
|
XFILE file;
|
||||||
long curr = 0;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
WOLFSSL_ENTER("wolfSSL_BIO_get_len");
|
WOLFSSL_ENTER("wolfSSL_BIO_get_len");
|
||||||
|
Reference in New Issue
Block a user