1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2026-04-19 21:41:18 +03:00
Commit Graph

715 Commits

Author SHA1 Message Date
Davide Beatrici 69aef9c5f8 AUTHORS.TXT: move development board members into a dedicated section 2018-10-01 21:55:17 +02:00
Ilya Shipitsin 6144f45918 increased build number to 5.1.9658 2018-10-01 23:09:30 +05:00
Davide Beatrici 00f66616d2 Merge PR #721: Encrypt.c: fix MdProcess()'s HMAC implementation 2018-10-01 19:08:38 +02:00
Davide Beatrici 34f443c0c7 Merge PR #718: src/Cedar/BridgeUnix.c: resolve null pointer dereference 2018-09-29 23:30:28 +02:00
Davide Beatrici 05fecef6d8 Merge PR #725: BridgeUnix.c: enable local bridge function on all BSD systems 2018-09-28 23:11:20 +02:00
Ilya Shipitsin 564ca6087f src/Mayaqua/Object.c: remove redundant conditionals
found by PVS analyzer

src/Mayaqua/Object.c	318	warn	V547 Expression 'c->Ready == 0' is always false.
src/Mayaqua/Object.c	348	warn	V547 Expression 'c->Ready == 0' is always false.
src/Mayaqua/Object.c	383	warn	V547 Expression 'c->Ready == 0' is always false.
2018-09-29 00:39:01 +05:00
Davide Beatrici 34b8666df1 Merge PR #722: cmake: compare PROJECT_VERSION against src/CurrentBuild.txt 2018-09-28 21:00:21 +02:00
Davide Beatrici aee6084b19 BridgeUnix.c: enable local bridge function on all BSD systems 2018-09-28 20:56:10 +02:00
Ilya Shipitsin d4ac00855b cmake: compare PROJECT_VERSION against src/CurrentBuild.txt 2018-09-28 23:38:31 +05:00
Ilya Shipitsin 3110ca530e Merge pull request #724 from dnobori/180928_fixbugs
Merge PR #724: Fix bugs reported by Coverity Scan.
2018-09-28 21:41:12 +05:00
Daiyuu Nobori ee9990317b Fix bugs reported by Coverity Scan. 2018-09-28 22:39:38 +09:00
Ilya Shipitsin 60bb1c34de src/Cedar/BridgeUnix.c: resolve null pointer dereference
found by coverity
2018-09-28 16:17:20 +05:00
Davide Beatrici 53c8abfd80 Encrypt.c: fix MdProcess()'s HMAC implementation 2018-09-27 20:28:48 +02:00
Ilya Shipitsin 06c06f1db8 Merge pull request #717 from mogikanin/master
Merge PR #717: Added some output/obj folders to git ignore.
2018-09-26 18:07:49 +05:00
mogikanin 540aa96428 Added some output/obj folders to git ignore. 2018-09-26 10:19:12 +03:00
Ilya Shipitsin 6014ec8eb5 Merge pull request #716 from chipitsine/master
Merge PR #716: travis-ci: setup releases from tags
2018-09-26 09:51:11 +05:00
Ilya Shipitsin 433c72e978 travis-ci: setup releases from tags 2018-09-26 07:21:49 +05:00
Davide Beatrici 33f5de78ba Merge PR #715: src/Cedar: resolve possible null pointer dereference and silence dead code warning 2018-09-24 20:35:47 +02:00
Ilya Shipitsin 1fdc712e66 src/Cedar/Client.c: silence coverity regarding dead code 2018-09-24 11:19:54 +05:00
Ilya Shipitsin 36dbde6f32 src/Cedar/Hub.c: resolve possible null pointer dereference
found by coverity
2018-09-24 11:13:43 +05:00
Davide Beatrici f5bba7499d Merge PR #712: travis-ci: run stbcheck utility 2018-09-23 20:17:34 +02:00
Ilya Shipitsin cfd0022e61 travis-ci: run stbcheck utility 2018-09-23 22:54:57 +05:00
Davide Beatrici bfb188df0d Merge PR #714: fix localization files, missing strings were taken from "en" 2018-09-23 19:40:16 +02:00
Ilya Shipitsin 0f77b5e30e fix localization files, missing strings were taken from "en" 2018-09-23 22:24:21 +05:00
Davide Beatrici f449b0b405 Merge PR #704: vpncmd: Added information about "Disable UDP Acceleration" setting into output of AccountGet command. 2018-09-23 17:05:45 +02:00
Davide Beatrici 4c0e562019 Merge PR #713: AppVeyor: add Ubuntu 16.04 and 18.04 builds 2018-09-23 13:44:39 +02:00
Davide Beatrici a015cc04b6 AppVeyor: add Ubuntu 16.04 and 18.04 builds 2018-09-22 21:07:07 +02:00
Davide Beatrici c1d81c0940 Merge PR #695: Revamp digest functions 2018-09-22 19:18:52 +02:00
Davide Beatrici 50b42070e2 Encrypt: reorder digest functions 2018-09-22 06:47:03 +02:00
Davide Beatrici 3f5f716357 Revamp digest functions
- Hash() has been removed because it was ambiguous, Md5() and Sha0() are proper replacements.
- HMacMd5() and HMacSha1() now share a common implementation handled by the new Internal_HMac() function.
- NewMd() and MdProcess() now support plain hashing (without the key).
- NewMd(), SetMdKey() and MdProcess() now check the OpenSSL functions' return value and in case of failure a debug message is printed along with the error string, if available.
- SetMdKey()'s return value has been changed from void to bool, so that it's possible to know whether the function succeeded or not.
- MdProcess()' return value has been changed from void to UINT (unsigned int) and the function now returns the number of bytes written by HMAC_Final() or EVP_DigestFinal_ex().
2018-09-22 06:36:09 +02:00
Davide Beatrici 69b35f875a Merge PR #709: Add 'stbcheck': the STB File Multilanguage Full-Mesh Consistency Checker 2018-09-22 05:17:12 +02:00
Daiyuu Nobori a6c4d2a2bc Add 'stbcheck': the STB File Multilanguage Full-Mesh Consistency Checker 2018-09-22 11:50:58 +09:00
mogikanin 2ec48c765e Added string to other stb files 2018-09-19 12:10:23 +03:00
Davide Beatrici a78bcb4f21 Merge PR #707: src/Cedar/Hub.c: resolve null pointer dereference found by coverity 2018-09-19 04:23:56 +02:00
Davide Beatrici f73d435302 Merge PR #706: BridgeUnix.c: add TAP local bridge support for FreeBSD 2018-09-18 21:40:58 +02:00
Ilya Shipitsin 621fffbfbd src/Cedar/Hub.c: resolve null pointer dereference found by coverity,
also cleanup a code based on PVS analyzer findings

src/Cedar/Hub.c	5279	warn	V547 Expression 'e->UpdatedTime <= oldest_time' is always true.
src/Cedar/Hub.c	5840	warn	V581 The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 5828, 5840.
2018-09-18 10:52:04 +05:00
Davide Beatrici 60a2583ee4 BridgeUnix.c: add TAP local bridge support for FreeBSD 2018-09-18 01:35:23 +02:00
Davide Beatrici cb2aec1314 BridgeUnix.c: convert line endings from CRLF to LF 2018-09-18 01:32:01 +02:00
Davide Beatrici 93c962fb68 Merge PR #705: src/Cedar/Client.c: remove not needed condition 2018-09-18 00:03:21 +02:00
Ilya Shipitsin f469e143fc src/Cedar/Client.c: remove not needed condition
inspired by coverity (however, coverity does not see an issue here)
2018-09-17 16:35:22 +05:00
mogikanin 825a5a828e vpncmd: Added information about "Disable UDP Acceleration" setting into output of AccountGet command. 2018-09-17 09:22:50 +03:00
Davide Beatrici ca8b392dc6 Merge PR #703: Enable debug messages and memory check with debug configuration 2018-09-15 20:51:31 +02:00
Davide Beatrici 4e30a40ae1 Enable debug messages and memory check with debug configuration 2018-09-15 19:12:21 +02:00
Davide Beatrici 9a6b871a0e Merge PR #701: src/Cedar/Radius: resolve several coverity "issues" 2018-09-14 16:50:20 +02:00
Ilya Shipitsin 4974b2a13e src/Cedar/Radius: resolve several coverity "issues"
coverity thinks there might be null pointer dereference, make it
happier by removing check (there's a check against NULL in function itself).

condition "a.DataSize <= 1500" is always true
2018-09-14 11:05:24 +05:00
Davide Beatrici ebfde9c97f Merge PR #700: CMake: fix date/time leading 0 removal regex and print both during configuration 2018-09-14 04:20:32 +02:00
Davide Beatrici 39858d7017 CMake: fix date/time leading 0 removal regex and print both during configuration
The previous regex expression removed all the 0s present in the input string, meaning that it caused the build to fail in case one of the date/time values was effectively 0.
2018-09-13 22:54:03 +02:00
Ilya Shipitsin 8e3927f27c Merge pull request #699 from chipitsine/master
Merge PR #699: src/Cedar/Hub: resolve potential null pointer dereference, remove unused functions
2018-09-14 00:16:06 +05:00
Ilya Shipitsin 83a8b5f4aa src/Cedar/Hub: resolve potential null pointer dereference, remove unused functions
found by coverity, cppcheck

[src/Cedar/Hub.c:6663]: (style) The function 'CalcTrafficEntryDiff' is never used.
[src/Cedar/Hub.c:3387]: (style) The function 'GetSessionByPtr' is never used.
[src/Cedar/Hub.c:3139]: (style) The function 'SetSessionFirstRedirectHttpUrl' is never used.
[src/Cedar/Hub.c:3912]: (style) The function 'VgsSetEmbTag' is never used.
[src/Cedar/Hub.c:3918]: (style) The function 'VgsSetUserAgentValue' is never used.
2018-09-13 23:39:09 +05:00
Davide Beatrici 50d96aae81 Merge PR #698: Clean up Solaris device name parsing code to eliminate Coverity errors 2018-09-13 19:49:24 +02:00