mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
Fixed CID 591810.
This commit is contained in:
@ -388,6 +388,7 @@ int wc_FileLoad(const char* fname, unsigned char** buf, size_t* bufLen,
|
||||
|
||||
if (XFSEEK(f, 0, XSEEK_END) != 0) {
|
||||
WOLFSSL_MSG("wc_LoadFile file seek error");
|
||||
XFCLOSE(f);
|
||||
return BAD_PATH_ERROR;
|
||||
}
|
||||
fileSz = XFTELL(f);
|
||||
|
Reference in New Issue
Block a user