mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-07-07 16:25:01 +03:00
resolved several cppcheck findings:
[src/Cedar/Admin.c:418]: (error) Possible null pointer dereference: cedar [src/Cedar/Admin.c:616]: (error) Possible null pointer dereference: cedar [src/Cedar/WebUI.c:369]: (error) Uninitialized variable: retcode [src/Mayaqua/Encrypt.c:4485]: (error) Uninitialized variable: key [src/Mayaqua/Network.c:13548]: (error) Uninitialized variable: e
This commit is contained in:
@ -4482,7 +4482,7 @@ void DesEcbEncrypt(void *dst, void *src, void *key_7bytes)
|
||||
DES_cblock key;
|
||||
DES_key_schedule ks;
|
||||
// Validate arguments
|
||||
if (dst == NULL || src == NULL || key == NULL)
|
||||
if (dst == NULL || src == NULL || key_7bytes == NULL)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user