[src/Mayaqua/Memory.c:2350]: (style) The function 'PadFifoFront' is never used.
[src/Mayaqua/Memory.c:2188]: (style) The function 'PeekFifo' is never used.
[src/Mayaqua/Memory.c:2068]: (style) The function 'DelInt64' is never used.
[src/Mayaqua/Memory.c:2920]: (style) The function 'DumpData' is never used.
[src/Mayaqua/Memory.c:835]: (style) The function 'FillBytes' is never used.
[src/Mayaqua/Memory.c:2745]: (style) The function 'GetFifoCurrentReallocMemSize' is never used.
[src/Mayaqua/Memory.c:1475]: (style) The function 'InsertDistinct' is never used.
[src/Mayaqua/Memory.c:2274]: (style) The function 'InsertInt64Distinct' is never used.
[src/Mayaqua/Memory.c:1612]: (style) The function 'IsInListUniStr' is never used.
[src/Mayaqua/Memory.c:2633]: (style) The function 'LockFifo' is never used.
[src/Mayaqua/Memory.c:1120]: (style) The function 'PeekQueue' is never used.
[src/Mayaqua/Memory.c:2158]: (style) The function 'RandomizeList' is never used.
[src/Mayaqua/Memory.c:1364]: (style) The function 'SetCmp' is never used.
[src/Mayaqua/Memory.c:1570]: (style) The function 'SetSortFlag' is never used.
[src/Mayaqua/Memory.c:1596]: (style) The function 'SortEx' is never used.
[src/Mayaqua/Memory.c:3704]: (style) The function 'Swap' is never used.
[src/Mayaqua/Memory.c:2645]: (style) The function 'UnlockFifo' is never used.
[src/Mayaqua/Memory.c:2532]: (style) The function 'WriteFifoFront' is never used.
[src/Cedar/WinUi.c:6589]: (style) The function 'LbSelect' is never used.
[src/Cedar/WinUi.c:7412]: (style) The function 'PkcsUtilErase' is never used.
[src/Cedar/WinUi.c:7340]: (style) The function 'PkcsUtilWrite' is never used.
[src/Cedar/WinUi.c:2054]: (style) The function 'ShowFreeInfoDialog' is never used.
[src/Cedar/WinUi.c:6899]: (style) The function 'CbInsertStr9xA' is never used.
[src/Cedar/WinUi.c:2091]: (style) The function 'FreeInfoThread' is never used.
[src/Cedar/WinUi.c:2819]: (style) The function 'GetWindowAndControlSizeResizeScale' is never used.
[src/Cedar/WinUi.c:1996]: (style) The function 'IsRegistedToDontShowFreeEditionDialog' is never used.
[src/Cedar/WinUi.c:6597]: (style) The function 'LbAddStrA' is never used.
[src/Cedar/WinUi.c:6730]: (style) The function 'LbGetSelectIndex' is never used.
[src/Cedar/WinUi.c:6618]: (style) The function 'LbInsertStrA' is never used.
[src/Cedar/WinUi.c:7584]: (style) The function 'PkcsUtilProc' is never used.
[src/Cedar/WinUi.c:7226]: (style) The function 'CbInsertStr' is never used.
[src/Cedar/WinUi.c:8922]: (style) The function 'DialogCreateEx' is never used.
[src/Cedar/WinUi.c:2150]: (style) The function 'EndFreeInfoDlg' is never used.
[src/Cedar/WinUi.c:2166]: (style) The function 'ExecuteHamcoreExe' is never used.
[src/Cedar/WinUi.c:9833]: (style) The function 'FormatTextA' is never used.
[src/Cedar/WinUi.c:9271]: (style) The function 'GetFontSize' is never used.
[src/Cedar/WinUi.c:9789]: (style) The function 'GetMonitorSize' is never used.
[src/Cedar/WinUi.c:10305]: (style) The function 'GetTextSize' is never used.
[src/Cedar/WinUi.c:9707]: (style) The function 'GetWindowClientRect' is never used.
[src/Cedar/WinUi.c:1130]: (style) The function 'GetWizardPageIndex' is never used.
[src/Cedar/WinUi.c:3950]: (style) The function 'IpClear' is never used.
[src/Cedar/WinUi.c:6837]: (style) The function 'LbAddStr' is never used.
[src/Cedar/WinUi.c:6810]: (style) The function 'LbFindStr' is never used.
[src/Cedar/WinUi.c:7050]: (style) The function 'LbGetSelect' is never used.
[src/Cedar/WinUi.c:6798]: (style) The function 'LbGetStr' is never used.
[src/Cedar/WinUi.c:6886]: (style) The function 'LbInsertStr' is never used.
[src/Cedar/WinUi.c:6998]: (style) The function 'LbSetHeight' is never used.
[src/Cedar/WinUi.c:3638]: (style) The function 'LedDrawRect' is never used.
[src/Cedar/WinUi.c:5986]: (style) The function 'LvGetMaskedNum' is never used.
[src/Cedar/WinUi.c:6023]: (style) The function 'LvSearchStr_' is never used.
[src/Cedar/WinUi.c:5689]: (style) The function 'LvSetItemImage' is never used.
[src/Cedar/WinUi.c:5817]: (style) The function 'LvShow' is never used.
[src/Cedar/WinUi.c:10103]: (style) The function 'NoTop' is never used.
[src/Cedar/WinUi.c:9995]: (style) The function 'NoticeSettingChange' is never used.
[src/Cedar/WinUi.c:7840]: (style) The function 'PkcsUtil' is never used.
[src/Cedar/WinUi.c:8954]: (style) The function 'SetBitmap' is never used.
[src/Cedar/WinUi.c:4525]: (style) The function 'SetMenuItemEnable' is never used.
[src/Cedar/WinUi.c:9866]: (style) The function 'SetTextEx' is never used.
[src/Cedar/WinUi.c:9888]: (style) The function 'SetTextExA' is never used.
[src/Cedar/WinUi.c:11220]: (style) The function 'SetWinUiTitle' is never used.
[src/Cedar/WinUi.c:2127]: (style) The function 'StartFreeInfoDlg' is never used.
[src/Cedar/WinUi.c:1554]: (style) The function 'WinConnectEx2' is never used.
[src/Cedar/Hub.c:6663]: (style) The function 'CalcTrafficEntryDiff' is never used.
[src/Mayaqua/Cfg.c:539]: (style) The function 'CfgRead' is never used.
[src/Mayaqua/Cfg.c:1429]: (style) The function 'CfgStrToType' is never used.
[src/Mayaqua/Network.c:7782]: (style) The function 'CheckSubnetLength6' is never used.
[src/Mayaqua/Network.c:14614]: (style) The function 'CheckTCPPortThread' is never used.
[src/Cedar/WinUi.c:9257]: (style) The function 'CheckTextLen' is never used.
[src/Cedar/WinUi.c:9238]: (style) The function 'CheckTextSize' is never used.
[src/Mayaqua/Network.c:6827]: (style) The function 'CheckUnicastAddress' is never used.
[src/Mayaqua/Encrypt.c:2748]: (style) The function 'CheckX' is never used.
[src/Cedar/Client.c:10394]: (style) The function 'CiFreeInnerVPNServer' is never used.
[src/Cedar/Client.c:10785]: (style) The function 'CiGetNumActiveSessions' is never used.
[src/Cedar/Client.c:2042]: (style) The function 'CiHasAccountSensitiveInformationFile' is never used.
[src/Cedar/Client.c:10377]: (style) The function 'CiNewInnerVPNServer' is never used.
[src/Mayaqua/Secure.c:842]: (style) The function 'CkDateToUINT64' is never used.
[src/Mayaqua/Memory.c:2605]: (style) The function 'ClearFifo' is never used.
[src/Mayaqua/Memory.c:4267]: (style) The function 'CloneTail' is never used.
[src/Cedar/Command.c:9739]: (style) The function 'CmdEvalIpAndMask46' is never used.
[src/Cedar/Command.c:9826]: (style) The function 'CmdEvalNetworkAndSubnetMask46' is never used.
[src/Cedar/Command.c:22767]: (style) The function 'CmdPrintRow' is never used.
[src/Cedar/Client.c:1128]: (style) The function 'CncGetSessionId' is never used.
[src/Cedar/Client.c:767]: (style) The function 'CncPasswordDlgHaltThread' is never used.
[src/Cedar/Client.c:10589]: (style) The function 'CompareInternetSetting' is never used.
[src/Cedar/Protocol.c:907]: (style) The function 'CompareNodeInfo' is never used.
[src/Cedar/Session.c:1853]: (style) The function 'CompareSession' is never used.
[src/Mayaqua/Network.c:8171]: (style) The function 'CompareTcpTable' is never used.
[src/Mayaqua/Tracking.c:593]: (style) The function 'CompareTrackingObject' is never used.
[src/Mayaqua/FileIO.c:728]: (style) The function 'ConvertSafeFileNameW' is never used.
[src/Mayaqua/Str.c:2024]: (style) The function 'CopyBinToStr' is never used.
[src/Cedar/Account.c:854]: (style) The function 'AddGroupTraffic' is never used.
[src/Mayaqua/Secure.c:1455]: (style) The function 'AddSecObjToEnumCache' is never used.
[src/Mayaqua/Network.c:18445]: (style) The function 'AddSockList' is never used.
[src/Cedar/Account.c:870]: (style) The function 'AddUserTraffic' is never used.
[src/Cedar/Server.c:1045]: (style) The function 'AdjoinEnumLogFile' is never used.
[src/Cedar/Admin.c:13780]: (style) The function 'AdminConnect' is never used.
[src/Mayaqua/Encrypt.c:855]: (style) The function 'BigNumToStr' is never used.
[src/Mayaqua/Str.c:2113]: (style) The function 'Bit128ToStr' is never used.
[src/Mayaqua/Encrypt.c:898]: (style) The function 'BufToBigNum' is never used.
[src/Mayaqua/Internat.c:1874]: (style) The function 'CalcStrToUtf8' is never used.
[src/Cedar/Hub.c:6689]: (style) The function 'CalcTrafficDiff' is never used.
[src/Mayaqua/Internat.c:1819]: (style) The function 'CalcUtf8ToStr' is never used.
[src/Mayaqua/Network.c:6495]: (style) The function 'CanGetTcpProcessId' is never used.
[src/Cedar/WinUi.c:7226]: (style) The function 'CbInsertStrA' is never used.
[src/Cedar/Client.c:3035]: (style) The function 'CcEnumObjectInSecure' is never used.
[src/Cedar/Client.c:2826]: (style) The function 'CcGetCommonProxySetting' is never used.
[src/Cedar/Client.c:2857]: (style) The function 'CcSetCommonProxySetting' is never used.
[src/Cedar/Cedar.c:575]: (style) The function 'CedarLog' is never used.
[src/Cedar/WinUi.c:9841]: (style) The function 'Center2' is never used.
[src/Mayaqua/Encrypt.c:814]: (style) The function 'CertTest' is never used.
[src/Mayaqua/Encrypt.c:809]: (style) The function 'CertTest2' is never used.
[src/Mayaqua/Encrypt.c:819]: (style) The function 'CertTest_' is never used.
[src/Mayaqua/Cfg.c:1705]: (style) The function 'CfgIsFolder' is never used.
* Allow specifying cipher suites instead of single ciphers.
CipherName now specifies all cipher suites instead of the
preferred cipher. This allows insecure ciphers like RC4 to
be permanently disabled, instead of being the default fallback
when the preferred cipher is unsupported.
CipherName is now left for OpenSSL to verify. Should it be
invalid, a secure default is used. The default CipherName setting
for new servers is one such invalid string: "~DEFAULT~". This
allows for future updates to change the default and the servers
can stay secure.
* Remove unused temporary variable.
Buffer overread in ParseL2TPPacket()
Memory corruption in IcmpParseResult
Missing bounds check in ParseUDP() can lead to invalid memory access
Out-of-bounds read in IPsec_PPP.c (unterminated string buffer)
Overlapping parameters to memcpy() via StrToIp6()
PACK ReadValue() crash vulnerability
Potential use of uninitialized memory via IPToInAddr6()
4 memory leaks. While the amount of leakage is very small per time, these bugs can finally cause process crash by out of memory. So these bugs must be fixed.
Memory leak in NnReadDnsRecord
Memory leak in RadiusLogin()
Memory leak via ParsePacketIPv4WithDummyMacHeader
Remote memory leak in OpenVPN server code
1 coding improvement. This is not a bug, however, I fixed the code to avoid furture misunderstanding.
RecvAll can return success on failure (leading to use of uninitialized memory)
Contributors for this bugfix:
- Max Planck Institute for Molecular Genetics
- Guido Vranken
BUILD_WINDOWS.TXT, BUILD_UNIX.TXT removed from root folder
src/BUILD_WINDOWS.TXT, src/BUILD_UNIX.TXT converted to "md"
BUILD_WINDOWS.TXT, BUILD_UNIX.TXT are now hyperlinks in README.md
* Reformat README. Add compile requirements
* Expand the list of required packages for a successful compilation
* Renamed README to README.md (Default name in github)