1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-10-06 10:30:40 +03:00
SoftEtherVPN/src/Mayaqua
Ilya Shipitsin c59df82666 src/Mayaqua/Secure.c: fix potential null pointer dereference
found by coverity

   CID 343528 (#1 of 1): Dereference before null check (REVERSE_INULL)
   check_after_deref: Null-checking name suggests that it may be null,
   but it has already been dereferenced on all paths leading to the
   check.
   438        if (name == NULL || k == NULL || k->private_key == false)
   439        {
   440                sec->Error = SEC_ERROR_BAD_PARAMETER;
   441                return false;
   442        }
2023-05-01 06:18:39 +02:00
..
3rdparty Remove Windows libraries and zlib submodule from the repository 2020-07-27 21:35:54 +02:00
Crypto LibreSSL-3.7.0 compatibility 2022-12-25 11:35:29 +06:00
Cfg.c Refactor Base64 functions, encode/decode using OpenSSL's EVP interface 2021-07-02 09:24:41 +02:00
Cfg.h Include headers properly 2021-04-05 04:48:25 +02:00
CMakeLists.txt Reworked EAP-TLS 1.3 to account for RFC9190, implemented searching by certificate instead of certificate CN 2023-01-31 20:33:18 +03:00
cryptoki.h v4.03-9408-rtm 2014-01-04 22:00:08 +09:00
DNS.c Fix the creation of a zero IPv6 address 2021-12-12 20:05:36 +08:00
DNS.h Mayaqua/DNS: Fix memory safety in DNS operation threads 2021-12-12 20:05:36 +08:00
Encoding.c Refactor Base64 functions, encode/decode using OpenSSL's EVP interface 2021-07-02 09:24:41 +02:00
Encoding.h Refactor Base64 functions, encode/decode using OpenSSL's EVP interface 2021-07-02 09:24:41 +02:00
Encrypt.c Load legacy provider under OpenSSL 3.0 2022-04-26 22:00:15 +08:00
Encrypt.h Support user-specified server trust chain 2021-07-21 07:02:42 +00:00
FileIO.c Mayaqua/FileIO: Fix typo causing segmentation fault on Hamcore cache expiration 2021-05-26 20:46:21 +02:00
FileIO.h Read hamcore.se2 using libhamcore, set arbitrary path through HAMCORE_FILE_PATH 2021-05-26 07:44:45 +02:00
HTTP.c Include headers properly 2021-04-05 04:48:25 +02:00
HTTP.h Include headers properly 2021-04-05 04:48:25 +02:00
Internat.c Include headers properly 2021-04-05 04:48:25 +02:00
Internat.h Include headers properly 2021-04-05 04:48:25 +02:00
Kernel.c Include headers properly 2021-04-05 04:48:25 +02:00
Kernel.h Include headers properly 2021-04-05 04:48:25 +02:00
Mayaqua.c Include headers properly 2021-04-05 04:48:25 +02:00
Mayaqua.h Include headers properly 2021-04-05 04:48:25 +02:00
MayaType.h Implement complete server certificate verification 2021-12-29 17:41:29 +08:00
Memory.c Mayaqua/Memory: Fix memory corruption in base64 2023-03-31 09:14:39 +00:00
Memory.h Memory: Add LittleEndian16(), LittleEndian32() and LittleEndian64() 2022-02-22 19:38:03 +01:00
Microsoft.c Include headers properly 2021-04-05 04:48:25 +02:00
Microsoft.h Include headers properly 2021-04-05 04:48:25 +02:00
Network.c Mayaqua/Network: Fix empty packet being treated as error 2023-02-19 05:41:55 +00:00
Network.h Reworked EAP-TLS 1.3 to account for RFC9190, implemented searching by certificate instead of certificate CN 2023-01-31 20:33:18 +03:00
Object.c Include headers properly 2021-04-05 04:48:25 +02:00
Object.h Include headers properly 2021-04-05 04:48:25 +02:00
OS.c Include headers properly 2021-04-05 04:48:25 +02:00
OS.h Include headers properly 2021-04-05 04:48:25 +02:00
Pack.c Support user-specified server trust chain 2021-07-21 07:02:42 +00:00
Pack.h Support user-specified server trust chain 2021-07-21 07:02:42 +00:00
pkcs11.h v4.03-9408-rtm 2014-01-04 22:00:08 +09:00
pkcs11f.h v4.03-9408-rtm 2014-01-04 22:00:08 +09:00
pkcs11t.h Correct Spelling (#458) 2018-05-16 23:47:10 +02:00
Proxy.c Refactor Base64 functions, encode/decode using OpenSSL's EVP interface 2021-07-02 09:24:41 +02:00
Proxy.h Fix server manager setting compatibility since build 9658 2021-12-25 13:25:34 +08:00
Secure.c src/Mayaqua/Secure.c: fix potential null pointer dereference 2023-05-01 06:18:39 +02:00
Secure.h Include headers properly 2021-04-05 04:48:25 +02:00
Str.c src/Mayaqua/Str.c: fix denial of service reported by Cisco Talos 2023-04-21 22:38:22 +02:00
Str.h Include headers properly 2021-04-05 04:48:25 +02:00
Table.c Rewrite DNS API from scratch into dedicated file(s) 2021-04-18 01:46:59 +02:00
Table.h Include headers properly 2021-04-05 04:48:25 +02:00
TcpIp.c Mayaqua/TcpIp.c: Fix building DHCP static routes in new format 2021-07-14 08:11:05 +00:00
TcpIp.h Fix IPv6 Neighbor Discovery for PPP based protocols 2021-05-09 13:55:31 +02:00
Tick64.c Include headers properly 2021-04-05 04:48:25 +02:00
Tick64.h Include headers properly 2021-04-05 04:48:25 +02:00
Tracking.c Include headers properly 2021-04-05 04:48:25 +02:00
Tracking.h Include headers properly 2021-04-05 04:48:25 +02:00
TunTap.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
Unix.c src/Mayaqua/Unix.c: fix guarding 2023-04-29 22:31:55 +02:00
Unix.h Include headers properly 2021-04-05 04:48:25 +02:00
Win32.c Include headers properly 2021-04-05 04:48:25 +02:00
Win32.h Include headers properly 2021-04-05 04:48:25 +02:00