Group |
Location |
Level |
Code |
Message |
General Analysis |
CivetServer.cpp:608/home/dc/src-svn/ptokax/civetweb/CivetServer.cpp:608 |
High |
V1116 |
Creating an exception object without an explanatory message may result in insufficient logging. |
General Analysis |
CivetServer.cpp:751/home/dc/src-svn/ptokax/civetweb/CivetServer.cpp:751 |
High |
V1116 |
Creating an exception object without an explanatory message may result in insufficient logging. |
General Analysis |
civetweb.c:9636/home/dc/src-svn/ptokax/civetweb/civetweb.c:9636 |
High |
V547 |
Expression 'ip_ver == 4' is always true. |
General Analysis |
civetweb.c:9682/home/dc/src-svn/ptokax/civetweb/civetweb.c:9682 |
High |
V547 |
Expression 'ip_ver == 4' is always true. |
General Analysis |
civetweb.c:6503/home/dc/src-svn/ptokax/civetweb/civetweb.c:6503 |
High |
V595 |
The 'conn' pointer was utilized before it was verified against nullptr. Check lines: 6503, 6518. |
General Analysis |
civetweb.c:16446/home/dc/src-svn/ptokax/civetweb/civetweb.c:16446 |
Medium |
V547 |
Expression '!log_buf[0]' is always true. |
General Analysis |
civetweb.c:9975/home/dc/src-svn/ptokax/civetweb/civetweb.c:9975 |
Medium |
V557 |
Array overrun is possible. The '1' index is pointing beyond array bound. |
General Analysis |
civetweb.c:9942/home/dc/src-svn/ptokax/civetweb/civetweb.c:9942 |
Medium |
V560 |
A part of conditional expression is always false: (query_string == NULL). |
General Analysis |
civetweb.c:10139/home/dc/src-svn/ptokax/civetweb/civetweb.c:10139 |
Medium |
V701 |
realloc() possible leak: when realloc() fails in allocating memory, original pointer 'entries' is lost. Consider assigning realloc() to a temporary pointer. |
General Analysis |
handle_form.inl:723/home/dc/src-svn/ptokax/civetweb/handle_form.inl:723 |
Medium |
V658 |
A value is being subtracted from the unsigned variable. This can result in an overflow. In such a case, the '<' comparison operation can potentially behave unexpectedly. Consider inspecting the 'preamble_length < buf_fill - bl' expression. |
General Analysis |
sort.inl:27/home/dc/src-svn/ptokax/civetweb/sort.inl:27 |
Medium |
V756 |
The 'i' counter is not used inside a nested loop. Consider inspecting usage of 'j' counter. |
General Analysis |
DB-SQLite.cpp:7/home/dc/src-svn/ptokax/core/DB-SQLite.cpp:7 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
DcCommands.cpp:8/home/dc/src-svn/ptokax/core/DcCommands.cpp:8 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
DcCommands.cpp:1219/home/dc/src-svn/ptokax/core/DcCommands.cpp:1219 |
High |
V1065 |
Expression can be simplified, check 'ui32IpPortLen' and similar operands. |
General Analysis |
DcCommands.cpp:1224/home/dc/src-svn/ptokax/core/DcCommands.cpp:1224 |
High |
V1065 |
Expression can be simplified, check 'ui32IpPortLen' and similar operands. |
General Analysis |
DcCommands.cpp:1991/home/dc/src-svn/ptokax/core/DcCommands.cpp:1991 |
High |
V1065 |
Expression can be simplified, check 'iAfterCmd' and similar operands. |
General Analysis |
DcCommands.cpp:1991/home/dc/src-svn/ptokax/core/DcCommands.cpp:1991 |
High |
V1065 |
Expression can be simplified, check 'ui32IpPortLen' and similar operands. |
General Analysis |
DcCommands.cpp:144/home/dc/src-svn/ptokax/core/DcCommands.cpp:144 |
Medium |
V1032 |
The pointer '"ulti"' is cast to a more strictly aligned pointer type. |
General Analysis |
DcCommands.cpp:145/home/dc/src-svn/ptokax/core/DcCommands.cpp:145 |
Medium |
V1032 |
The pointer '"ick "' is cast to a more strictly aligned pointer type. |
General Analysis |
DcCommands.cpp:168/home/dc/src-svn/ptokax/core/DcCommands.cpp:168 |
Medium |
V1032 |
The pointer '"Key "' is cast to a more strictly aligned pointer type. |
General Analysis |
DcCommands.cpp:565/home/dc/src-svn/ptokax/core/DcCommands.cpp:565 |
Medium |
V1032 |
The pointer '"R "' is cast to a more strictly aligned pointer type. |
General Analysis |
DcCommands.cpp:847/home/dc/src-svn/ptokax/core/DcCommands.cpp:847 |
Medium |
V1032 |
The pointer '"et"' is cast to a more strictly aligned pointer type. |
General Analysis |
DcCommands.cpp:858/home/dc/src-svn/ptokax/core/DcCommands.cpp:858 |
Medium |
V1032 |
The pointer '"NickList"' is cast to a more strictly aligned pointer type. |
General Analysis |
DcCommands.cpp:1872/home/dc/src-svn/ptokax/core/DcCommands.cpp:1872 |
Medium |
V1032 |
The pointer '"Hub:"' is cast to a more strictly aligned pointer type. |
General Analysis |
DcCommands.cpp:2928/home/dc/src-svn/ptokax/core/DcCommands.cpp:2928 |
Medium |
V1032 |
The pointer '"uickList"' is cast to a more strictly aligned pointer type. |
General Analysis |
DcCommands.cpp:2986/home/dc/src-svn/ptokax/core/DcCommands.cpp:2986 |
Medium |
V1032 |
The pointer '"Pipe"' is cast to a more strictly aligned pointer type. |
General Analysis |
DcCommands.cpp:2998/home/dc/src-svn/ptokax/core/DcCommands.cpp:2998 |
Medium |
V1032 |
The pointer '"IP64"' is cast to a more strictly aligned pointer type. |
General Analysis |
DcCommands.cpp:3002/home/dc/src-svn/ptokax/core/DcCommands.cpp:3002 |
Medium |
V1032 |
The pointer '"IPv4"' is cast to a more strictly aligned pointer type. |
General Analysis |
DcCommands.cpp:3013/home/dc/src-svn/ptokax/core/DcCommands.cpp:3013 |
Medium |
V1032 |
The pointer '"TLS2"' is cast to a more strictly aligned pointer type. |
General Analysis |
DeFlood.cpp:7/home/dc/src-svn/ptokax/core/DeFlood.cpp:7 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
ExceptionHandling.cpp:7/home/dc/src-svn/ptokax/core/ExceptionHandling.cpp:7 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
GlobalDataQueue.cpp:8/home/dc/src-svn/ptokax/core/GlobalDataQueue.cpp:8 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
GlobalDataQueue.cpp:602/home/dc/src-svn/ptokax/core/GlobalDataQueue.cpp:602 |
Medium |
V1037 |
Two or more case-branches perform the same actions. Check lines: 602, 607 |
General Analysis |
HubCommands-AE.cpp:8/home/dc/src-svn/ptokax/core/HubCommands-AE.cpp:8 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
HubCommands-FH.cpp:8/home/dc/src-svn/ptokax/core/HubCommands-FH.cpp:8 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
HubCommands-IQ.cpp:8/home/dc/src-svn/ptokax/core/HubCommands-IQ.cpp:8 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
HubCommands-IQ.cpp:317/home/dc/src-svn/ptokax/core/HubCommands-IQ.cpp:317 |
Medium |
V1004 |
The 'sCmdParts[1]' pointer was used unsafely after it was verified against nullptr. Check lines: 259, 317. |
General Analysis |
HubCommands-RZ.cpp:8/home/dc/src-svn/ptokax/core/HubCommands-RZ.cpp:8 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
HubCommands.cpp:8/home/dc/src-svn/ptokax/core/HubCommands.cpp:8 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
HubCommands.cpp:953/home/dc/src-svn/ptokax/core/HubCommands.cpp:953 |
Medium |
V1004 |
The 'sCmdParts[1]' pointer was used unsafely after it was verified against nullptr. Check lines: 927, 953. |
General Analysis |
HubCommands.cpp:1282/home/dc/src-svn/ptokax/core/HubCommands.cpp:1282 |
Medium |
V1004 |
The 'sCmdParts[2]' pointer was used unsafely after it was verified against nullptr. Check lines: 1237, 1282. |
General Analysis |
IP2Country.cpp:7/home/dc/src-svn/ptokax/core/IP2Country.cpp:7 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
LanguageManager.cpp:7/home/dc/src-svn/ptokax/core/LanguageManager.cpp:7 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
LuaBanManLib.cpp:7/home/dc/src-svn/ptokax/core/LuaBanManLib.cpp:7 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
LuaCoreLib.cpp:7/home/dc/src-svn/ptokax/core/LuaCoreLib.cpp:7 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
LuaIP2CountryLib.cpp:7/home/dc/src-svn/ptokax/core/LuaIP2CountryLib.cpp:7 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
LuaProfManLib.cpp:7/home/dc/src-svn/ptokax/core/LuaProfManLib.cpp:7 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
LuaRegManLib.cpp:7/home/dc/src-svn/ptokax/core/LuaRegManLib.cpp:7 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
LuaScript.cpp:7/home/dc/src-svn/ptokax/core/LuaScript.cpp:7 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
LuaScript.cpp:127/home/dc/src-svn/ptokax/core/LuaScript.cpp:127 |
Medium |
V538 |
The line contains control character 0x0B (vertical tabulation). |
General Analysis |
LuaScriptManLib.cpp:7/home/dc/src-svn/ptokax/core/LuaScriptManLib.cpp:7 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
LuaScriptManager.cpp:7/home/dc/src-svn/ptokax/core/LuaScriptManager.cpp:7 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
LuaSetManLib.cpp:7/home/dc/src-svn/ptokax/core/LuaSetManLib.cpp:7 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
LuaTmrManLib.cpp:7/home/dc/src-svn/ptokax/core/LuaTmrManLib.cpp:7 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
LuaUDPDbgLib.cpp:7/home/dc/src-svn/ptokax/core/LuaUDPDbgLib.cpp:7 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
PXBReader.cpp:7/home/dc/src-svn/ptokax/core/PXBReader.cpp:7 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
ProfileManager.cpp:8/home/dc/src-svn/ptokax/core/ProfileManager.cpp:8 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
ProfileManager.cpp:142/home/dc/src-svn/ptokax/core/ProfileManager.cpp:142 |
Medium |
V1032 |
The pointer '"FI"' is cast to a more strictly aligned pointer type. |
General Analysis |
ProfileManager.cpp:143/home/dc/src-svn/ptokax/core/ProfileManager.cpp:143 |
Medium |
V1032 |
The pointer '"FV"' is cast to a more strictly aligned pointer type. |
General Analysis |
ProfileManager.cpp:166/home/dc/src-svn/ptokax/core/ProfileManager.cpp:166 |
Medium |
V1032 |
The pointer '"PN"' is cast to a more strictly aligned pointer type. |
General Analysis |
PtokaX-nix.cpp:7/home/dc/src-svn/ptokax/core/PtokaX-nix.cpp:7 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
PtokaX-nix.cpp:394/home/dc/src-svn/ptokax/core/PtokaX-nix.cpp:394 |
Medium |
V547 |
Expression 'pid2 > 0' is always false. |
General Analysis |
PtokaX-nix.cpp:402/home/dc/src-svn/ptokax/core/PtokaX-nix.cpp:402 |
Medium |
V773 |
The return value of the 'open' function is not saved. A resource leak is possible. |
General Analysis |
RegThread.cpp:8/home/dc/src-svn/ptokax/core/RegThread.cpp:8 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
ResNickManager.cpp:7/home/dc/src-svn/ptokax/core/ResNickManager.cpp:7 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
ServerManager.cpp:8/home/dc/src-svn/ptokax/core/ServerManager.cpp:8 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
ServerThread.cpp:8/home/dc/src-svn/ptokax/core/ServerThread.cpp:8 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
ServerThread.cpp:317/home/dc/src-svn/ptokax/core/ServerThread.cpp:317 |
Medium |
V641 |
The size of the '& sas' buffer is not a multiple of the element size of the type 'struct sockaddr_in6'. |
General Analysis |
ServerThread.cpp:436/home/dc/src-svn/ptokax/core/ServerThread.cpp:436 |
Medium |
V641 |
The size of the '& addr' buffer is not a multiple of the element size of the type 'struct sockaddr_in6'. |
General Analysis |
SettingManager.cpp:7/home/dc/src-svn/ptokax/core/SettingManager.cpp:7 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
SettingManager.cpp:2551/home/dc/src-svn/ptokax/core/SettingManager.cpp:2551 |
Medium |
V538 |
The line contains control character 0x0B (vertical tabulation). |
General Analysis |
SettingManager.cpp:2708/home/dc/src-svn/ptokax/core/SettingManager.cpp:2708 |
Medium |
V538 |
The line contains control character 0x0B (vertical tabulation). |
General Analysis |
TextConverter.cpp:7/home/dc/src-svn/ptokax/core/TextConverter.cpp:7 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
TextFileManager.cpp:7/home/dc/src-svn/ptokax/core/TextFileManager.cpp:7 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
UDPThread.cpp:7/home/dc/src-svn/ptokax/core/UDPThread.cpp:7 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
UdpDebug.cpp:8/home/dc/src-svn/ptokax/core/UdpDebug.cpp:8 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
UdpDebug.cpp:218/home/dc/src-svn/ptokax/core/UdpDebug.cpp:218 |
Medium |
V641 |
The size of the '& pNewDbg->sas_to' buffer is not a multiple of the element size of the type 'struct sockaddr_in6'. |
General Analysis |
UdpDebug.cpp:334/home/dc/src-svn/ptokax/core/UdpDebug.cpp:334 |
Medium |
V641 |
The size of the '& pNewDbg->sas_to' buffer is not a multiple of the element size of the type 'struct sockaddr_in6'. |
General Analysis |
UdpDebug.cpp:519/home/dc/src-svn/ptokax/core/UdpDebug.cpp:519 |
Medium |
V641 |
The size of the '& pCur->sas_to' buffer is not a multiple of the element size of the type 'struct sockaddr_in6'. |
General Analysis |
UpdateCheckThread.cpp:7/home/dc/src-svn/ptokax/core/UpdateCheckThread.cpp:7 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
User.cpp:8/home/dc/src-svn/ptokax/core/User.cpp:8 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
User.cpp:307/home/dc/src-svn/ptokax/core/User.cpp:307 |
Medium |
V1032 |
The pointer '"++"' is cast to a more strictly aligned pointer type. |
General Analysis |
User.cpp:313/home/dc/src-svn/ptokax/core/User.cpp:313 |
Medium |
V1032 |
The pointer '"V:"' is cast to a more strictly aligned pointer type. |
General Analysis |
User.cpp:1978/home/dc/src-svn/ptokax/core/User.cpp:1978 |
Medium |
V1086 |
A call of the 'memcpy' function will lead to underflow of the buffer 'm_LogInOut.m_pBuffer'. |
General Analysis |
ZlibUtility.cpp:223/home/dc/src-svn/ptokax/core/ZlibUtility.cpp:223 |
High |
V774 |
The 'sOutData' pointer was used after the memory was reallocated. |
General Analysis |
ZlibUtility.cpp:323/home/dc/src-svn/ptokax/core/ZlibUtility.cpp:323 |
High |
V774 |
The 'sOutData' pointer was used after the memory was reallocated. |
General Analysis |
ZlibUtility.cpp:7/home/dc/src-svn/ptokax/core/ZlibUtility.cpp:7 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
colUsers.cpp:8/home/dc/src-svn/ptokax/core/colUsers.cpp:8 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
eventqueue.cpp:7/home/dc/src-svn/ptokax/core/eventqueue.cpp:7 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
eventqueue.cpp:274/home/dc/src-svn/ptokax/core/eventqueue.cpp:274 |
Medium |
V1037 |
Two or more case-branches perform the same actions. Check lines: 274, 279 |
General Analysis |
hashBanManager.cpp:7/home/dc/src-svn/ptokax/core/hashBanManager.cpp:7 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
hashBanManager.cpp:2604/home/dc/src-svn/ptokax/core/hashBanManager.cpp:2604 |
Medium |
V557 |
Array overrun is possible. The '510' index is pointing beyond array bound. |
General Analysis |
hashBanManager.cpp:2605/home/dc/src-svn/ptokax/core/hashBanManager.cpp:2605 |
Medium |
V557 |
Array overrun is possible. The '509' index is pointing beyond array bound. |
General Analysis |
hashBanManager.cpp:2606/home/dc/src-svn/ptokax/core/hashBanManager.cpp:2606 |
Medium |
V557 |
Array overrun is possible. The '508' index is pointing beyond array bound. |
General Analysis |
hashBanManager.cpp:2672/home/dc/src-svn/ptokax/core/hashBanManager.cpp:2672 |
Medium |
V557 |
Array overrun is possible. The '510' index is pointing beyond array bound. |
General Analysis |
hashBanManager.cpp:2673/home/dc/src-svn/ptokax/core/hashBanManager.cpp:2673 |
Medium |
V557 |
Array overrun is possible. The '509' index is pointing beyond array bound. |
General Analysis |
hashBanManager.cpp:2674/home/dc/src-svn/ptokax/core/hashBanManager.cpp:2674 |
Medium |
V557 |
Array overrun is possible. The '508' index is pointing beyond array bound. |
General Analysis |
hashBanManager.cpp:1317/home/dc/src-svn/ptokax/core/hashBanManager.cpp:1317 |
Medium |
V1032 |
The pointer '"FI"' is cast to a more strictly aligned pointer type. |
General Analysis |
hashBanManager.cpp:1318/home/dc/src-svn/ptokax/core/hashBanManager.cpp:1318 |
Medium |
V1032 |
The pointer '"FV"' is cast to a more strictly aligned pointer type. |
General Analysis |
hashBanManager.cpp:1524/home/dc/src-svn/ptokax/core/hashBanManager.cpp:1524 |
Medium |
V1032 |
The pointer '"FI"' is cast to a more strictly aligned pointer type. |
General Analysis |
hashBanManager.cpp:1525/home/dc/src-svn/ptokax/core/hashBanManager.cpp:1525 |
Medium |
V1032 |
The pointer '"FV"' is cast to a more strictly aligned pointer type. |
General Analysis |
hashRegManager.cpp:7/home/dc/src-svn/ptokax/core/hashRegManager.cpp:7 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
hashRegManager.cpp:669/home/dc/src-svn/ptokax/core/hashRegManager.cpp:669 |
Medium |
V1032 |
The pointer '" "' is cast to a more strictly aligned pointer type. |
General Analysis |
hashRegManager.cpp:669/home/dc/src-svn/ptokax/core/hashRegManager.cpp:669 |
Medium |
V1032 |
The pointer '"FI"' is cast to a more strictly aligned pointer type. |
General Analysis |
hashRegManager.cpp:669/home/dc/src-svn/ptokax/core/hashRegManager.cpp:669 |
Medium |
V1032 |
The pointer '"FV"' is cast to a more strictly aligned pointer type. |
General Analysis |
hashRegManager.cpp:692/home/dc/src-svn/ptokax/core/hashRegManager.cpp:692 |
Medium |
V1032 |
The pointer '"NI"' is cast to a more strictly aligned pointer type. |
General Analysis |
hashRegManager.cpp:693/home/dc/src-svn/ptokax/core/hashRegManager.cpp:693 |
Medium |
V1032 |
The pointer '"PS"' is cast to a more strictly aligned pointer type. |
General Analysis |
hashRegManager.cpp:694/home/dc/src-svn/ptokax/core/hashRegManager.cpp:694 |
Medium |
V1032 |
The pointer '"PR"' is cast to a more strictly aligned pointer type. |
General Analysis |
hashRegManager.cpp:695/home/dc/src-svn/ptokax/core/hashRegManager.cpp:695 |
Medium |
V1032 |
The pointer '"PA"' is cast to a more strictly aligned pointer type. |
General Analysis |
hashRegManager.cpp:1002/home/dc/src-svn/ptokax/core/hashRegManager.cpp:1002 |
Medium |
V1048 |
The 'pCurReg->m_sPass' variable was assigned the same value. |
General Analysis |
hashRegManager.cpp:1020/home/dc/src-svn/ptokax/core/hashRegManager.cpp:1020 |
Medium |
V1048 |
The 'pCurReg->m_sPass' variable was assigned the same value. |
General Analysis |
hashUsrManager.cpp:8/home/dc/src-svn/ptokax/core/hashUsrManager.cpp:8 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
pxstring.cpp:7/home/dc/src-svn/ptokax/core/pxstring.cpp:7 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
serviceLoop.cpp:102/home/dc/src-svn/ptokax/core/serviceLoop.cpp:102 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: m_Addr. |
General Analysis |
serviceLoop.cpp:8/home/dc/src-svn/ptokax/core/serviceLoop.cpp:8 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
serviceLoop.cpp:345/home/dc/src-svn/ptokax/core/serviceLoop.cpp:345 |
Medium |
V641 |
The size of the '& pAccptSocket->m_Addr' buffer is not a multiple of the element size of the type 'struct sockaddr_in6'. |
General Analysis |
serviceLoop.cpp:347/home/dc/src-svn/ptokax/core/serviceLoop.cpp:347 |
Medium |
V641 |
The size of the '& pAccptSocket->m_Addr' buffer is not a multiple of the element size of the type 'struct sockaddr_in6'. |
General Analysis |
serviceLoop.cpp:349/home/dc/src-svn/ptokax/core/serviceLoop.cpp:349 |
Medium |
V641 |
The size of the '& pAccptSocket->m_Addr' buffer is not a multiple of the element size of the type 'struct sockaddr_in6'. |
General Analysis |
serviceLoop.cpp:360/home/dc/src-svn/ptokax/core/serviceLoop.cpp:360 |
Medium |
V641 |
The size of the '& pAccptSocket->m_Addr' buffer is not a multiple of the element size of the type 'struct sockaddr_in6'. |
General Analysis |
utility.cpp:8/home/dc/src-svn/ptokax/core/utility.cpp:8 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
utility.h:36/home/dc/src-svn/ptokax/core/utility.h:36 |
Medium |
V1061 |
Extending the 'std' namespace may result in undefined behavior. |
General Analysis |
CDBManager.cpp:234/home/dc/src-svn/ptokax/fly-server-test-port/CDBManager.cpp:234 |
Medium |
V547 |
Expression 'l_log_dir_name' is always false. |
General Analysis |
fly-server-test-port.cpp:348/home/dc/src-svn/ptokax/fly-server-test-port/fly-server-test-port.cpp:348 |
High |
V712 |
Be advised that compiler may delete this cycle or make it infinity. Use volatile variable(s) or synchronization primitives to avoid this. |
General Analysis |
fly-server-test-port.cpp:322/home/dc/src-svn/ptokax/fly-server-test-port/fly-server-test-port.cpp:322 |
Medium |
V547 |
Expression '!g_setup_log_disable_test_port' is always false. |
General Analysis |
fly-server-test-port.cpp:348/home/dc/src-svn/ptokax/fly-server-test-port/fly-server-test-port.cpp:348 |
Medium |
V776 |
Potentially infinite loop. The variable in the loop exit condition 'g_test_port_exit_flag == 0' does not change its value between iterations. |
General Analysis |
json.hpp:19818/home/dc/src-svn/ptokax/json/json.hpp:19818 |
Medium |
V547 |
Expression 't == value_t::null' is always false. |
General Analysis |
json.hpp:7516/home/dc/src-svn/ptokax/json/json.hpp:7516 |
Medium |
V1115 |
The 'get_decimal_point' function annotated with the 'pure' attribute has side effects. |
General Analysis |
jsoncpp.cpp:3361/home/dc/src-svn/ptokax/jsoncpp/jsoncpp.cpp:3361 |
High |
V607 |
Ownerless expression '(* this)[i]'. |
General Analysis |
jsoncpp.cpp:5284/home/dc/src-svn/ptokax/jsoncpp/jsoncpp.cpp:5284 |
Medium |
V1048 |
The 'cs' variable was assigned the same value. |
General Analysis |
text_serializer.cc:36/home/dc/src-svn/ptokax/prometheus-cpp/core/src/text_serializer.cc:36 |
Medium |
V1037 |
Two or more case-branches perform the same actions. Check lines: 36, 40 |
General Analysis |
brg_types.h:21/home/dc/src-svn/ptokax/skein/Optimized_32bit/brg_types.h:21 |
High |
V1042 |
This file is marked with copyleft license, which requires you to open the derived source code. |
General Analysis |
skein_block.c:599/home/dc/src-svn/ptokax/skein/Optimized_32bit/skein_block.c:599 |
Medium |
V557 |
Array overrun is possible. The value of 'r + (2 * (0) + 1) + 16' index could reach 37. |
General Analysis |
sqlite3.c:72153/home/dc/src-svn/ptokax/sqlite/sqlite3.c:72153 |
High |
V529 |
Odd semicolon ';' after 'while' operator. |
General Analysis |
sqlite3.c:43557/home/dc/src-svn/ptokax/sqlite/sqlite3.c:43557 |
High |
V547 |
Expression 'rc == 0' is always true. |
General Analysis |
sqlite3.c:74297/home/dc/src-svn/ptokax/sqlite/sqlite3.c:74297 |
High |
V547 |
Expression '0 != rc' is always false. |
General Analysis |
sqlite3.c:160240/home/dc/src-svn/ptokax/sqlite/sqlite3.c:160240 |
High |
V547 |
Expression '(nExtraReg) > (pLoop->u.btree.nBtm)' is always false. Unsigned type value is never < 0. |
General Analysis |
sqlite3.c:167484/home/dc/src-svn/ptokax/sqlite/sqlite3.c:167484 |
High |
V547 |
Expression is always false. |
General Analysis |
sqlite3.c:167906/home/dc/src-svn/ptokax/sqlite/sqlite3.c:167906 |
High |
V547 |
Expression 'sCur.n == 0' is always true. |
General Analysis |
sqlite3.c:63604/home/dc/src-svn/ptokax/sqlite/sqlite3.c:63604 |
High |
V562 |
It's odd to compare 0 or 1 with a value of 0: 0 == ((pPager)->pWal != 0). |
General Analysis |
sqlite3.c:122155/home/dc/src-svn/ptokax/sqlite/sqlite3.c:122155 |
High |
V562 |
It's odd to compare 0 or 1 with a value of 0. |
General Analysis |
sqlite3.c:127284/home/dc/src-svn/ptokax/sqlite/sqlite3.c:127284 |
High |
V562 |
It's odd to compare 0 or 1 with a value of 0. |
General Analysis |
sqlite3.c:144060/home/dc/src-svn/ptokax/sqlite/sqlite3.c:144060 |
High |
V562 |
It's odd to compare 0 or 1 with a value of 0. |
General Analysis |
sqlite3.c:164691/home/dc/src-svn/ptokax/sqlite/sqlite3.c:164691 |
High |
V562 |
It's odd to compare 0 or 1 with a value of 0. |
General Analysis |
sqlite3.c:169274/home/dc/src-svn/ptokax/sqlite/sqlite3.c:169274 |
High |
V562 |
It's odd to compare 0 or 1 with a value of 0. |
General Analysis |
sqlite3.c:85909/home/dc/src-svn/ptokax/sqlite/sqlite3.c:85909 |
High |
V595 |
The 'aLabel' pointer was utilized before it was verified against nullptr. Check lines: 85909, 85932. |
General Analysis |
sqlite3.c:91322/home/dc/src-svn/ptokax/sqlite/sqlite3.c:91322 |
High |
V705 |
It is possible that 'else' block was forgotten or commented out, thus altering the program's operation logics. |
General Analysis |
sqlite3.c:83246/home/dc/src-svn/ptokax/sqlite/sqlite3.c:83246 |
High |
V1028 |
Possible overflow. Consider casting operands of the 'pMem->n + 1' operator to the 'u64' type, not the result. |
General Analysis |
sqlite3.c:73301/home/dc/src-svn/ptokax/sqlite/sqlite3.c:73301 |
Medium |
V547 |
Expression 'pBt == 0' is always true. |
General Analysis |
sqlite3.c:73458/home/dc/src-svn/ptokax/sqlite/sqlite3.c:73458 |
Medium |
V547 |
Expression 'mutexOpen' is always false. |
General Analysis |
sqlite3.c:92037/home/dc/src-svn/ptokax/sqlite/sqlite3.c:92037 |
Medium |
V547 |
Expression 'db->mallocFailed > prior_mallocFailed' is always false. |
General Analysis |
sqlite3.c:147466/home/dc/src-svn/ptokax/sqlite/sqlite3.c:147466 |
Medium |
V547 |
Expression 'pSplit->pPrior' is always false. |
General Analysis |
sqlite3.c:159990/home/dc/src-svn/ptokax/sqlite/sqlite3.c:159990 |
Medium |
V547 |
Expression '!db->mallocFailed' is always true. |
General Analysis |
sqlite3.c:161018/home/dc/src-svn/ptokax/sqlite/sqlite3.c:161018 |
Medium |
V547 |
Expression 'skipLikeAddr' is always false. |
General Analysis |
sqlite3.c:168474/home/dc/src-svn/ptokax/sqlite/sqlite3.c:168474 |
Medium |
V547 |
Expression 'i < ((int)(sizeof (Bitmask) * 8))' is always true. |
General Analysis |
sqlite3.c:169937/home/dc/src-svn/ptokax/sqlite/sqlite3.c:169937 |
Medium |
V547 |
Expression 'db->mallocFailed' is always false. |
General Analysis |
sqlite3.c:169941/home/dc/src-svn/ptokax/sqlite/sqlite3.c:169941 |
Medium |
V547 |
Expression 'db->mallocFailed' is always false. |
General Analysis |
sqlite3.c:170276/home/dc/src-svn/ptokax/sqlite/sqlite3.c:170276 |
Medium |
V547 |
Expression 'db->mallocFailed' is always false. |
General Analysis |
sqlite3.c:184396/home/dc/src-svn/ptokax/sqlite/sqlite3.c:184396 |
Medium |
V547 |
Expression 'isThreadsafe == 0' is always false. |
General Analysis |
sqlite3.c:79478/home/dc/src-svn/ptokax/sqlite/sqlite3.c:79478 |
Medium |
V557 |
Array underrun is possible. The value of 'iPg - 1' index could reach -1. |
General Analysis |
sqlite3.c:86999/home/dc/src-svn/ptokax/sqlite/sqlite3.c:86999 |
Medium |
V560 |
A part of conditional expression is always false: 0. |
General Analysis |
sqlite3.c:105266/home/dc/src-svn/ptokax/sqlite/sqlite3.c:105266 |
Medium |
V560 |
A part of conditional expression is always true: 8 > 0. |
General Analysis |
sqlite3.c:109124/home/dc/src-svn/ptokax/sqlite/sqlite3.c:109124 |
Medium |
V560 |
A part of conditional expression is always false: db->mallocFailed. |
General Analysis |
sqlite3.c:140515/home/dc/src-svn/ptokax/sqlite/sqlite3.c:140515 |
Medium |
V560 |
A part of conditional expression is always false: db->temp_store == 1. |
General Analysis |
sqlite3.c:166147/home/dc/src-svn/ptokax/sqlite/sqlite3.c:166147 |
Medium |
V560 |
A part of conditional expression is always true: (pTerm->wtFlags & 0) == 0. |
General Analysis |
sqlite3.c:182774/home/dc/src-svn/ptokax/sqlite/sqlite3.c:182774 |
Medium |
V560 |
A part of conditional expression is always true: (rc >= 0). |
General Analysis |
sqlite3.c:87334/home/dc/src-svn/ptokax/sqlite/sqlite3.c:87334 |
Medium |
V580 |
An odd explicit type casting: (VdbeCursor * *) & aMem[p->nChildMem]. Consider verifying it. |
General Analysis |
sqlite3.c:100812/home/dc/src-svn/ptokax/sqlite/sqlite3.c:100812 |
Medium |
V580 |
An odd explicit type casting: (VdbeCursor * *) & aMem[p->nMem]. Consider verifying it. |
General Analysis |
sqlite3.c:69215/home/dc/src-svn/ptokax/sqlite/sqlite3.c:69215 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 69210, 69215. |
General Analysis |
sqlite3.c:104707/home/dc/src-svn/ptokax/sqlite/sqlite3.c:104707 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 104702, 104707. |
General Analysis |
sqlite3.c:105098/home/dc/src-svn/ptokax/sqlite/sqlite3.c:105098 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 105092, 105098. |
General Analysis |
sqlite3.c:27071/home/dc/src-svn/ptokax/sqlite/sqlite3.c:27071 |
Medium |
V701 |
realloc() possible leak: when realloc() fails in allocating memory, original pointer 'p' is lost. Consider assigning realloc() to a temporary pointer. |
General Analysis |
sqlite3.c:177463/home/dc/src-svn/ptokax/sqlite/sqlite3.c:177463 |
Medium |
V1037 |
Two or more case-branches perform the same actions. Check lines: 177463, 177786 |
General Analysis |
sqlite3.c:177639/home/dc/src-svn/ptokax/sqlite/sqlite3.c:177639 |
Medium |
V1037 |
Two or more case-branches perform the same actions. Check lines: 177639, 178029, 178678 |
General Analysis |
sqlite3.c:177672/home/dc/src-svn/ptokax/sqlite/sqlite3.c:177672 |
Medium |
V1037 |
Two or more case-branches perform the same actions. Check lines: 177672, 177690, 178036 |
General Analysis |
sqlite3.c:178047/home/dc/src-svn/ptokax/sqlite/sqlite3.c:178047 |
Medium |
V1037 |
Two or more case-branches perform the same actions. Check lines: 178047, 178601 |
General Analysis |
sqlite3.c:178054/home/dc/src-svn/ptokax/sqlite/sqlite3.c:178054 |
Medium |
V1037 |
Two or more case-branches perform the same actions. Check lines: 178054, 178605 |
General Analysis |
sqlite3.c:95701/home/dc/src-svn/ptokax/sqlite/sqlite3.c:95701 |
Medium |
V1048 |
The 'flags3' variable was assigned the same value. |
General Analysis |
sqlite3.c:149556/home/dc/src-svn/ptokax/sqlite/sqlite3.c:149556 |
Medium |
V1048 |
The 'pParse->pWith' variable was assigned the same value. |
General Analysis |
sqlite3.c:178896/home/dc/src-svn/ptokax/sqlite/sqlite3.c:178896 |
Medium |
V1048 |
The 'yymsp[0].minor.yy211' variable was assigned the same value. |
General Analysis |
sqlite3.c:185185/home/dc/src-svn/ptokax/sqlite/sqlite3.c:185185 |
Medium |
V1048 |
The 'db->busyHandler.nBusy' variable was assigned the same value. |
General Analysis |
sqlite3.c:6118/home/dc/src-svn/ptokax/sqlite/sqlite3.c:6118 |
Medium |
V1071 |
Consider inspecting the 'sqlite3_value_text' function. The return value is not always used. Total calls: 67, discarded results: 1. |
General Analysis |
sqlite3.c:21378/home/dc/src-svn/ptokax/sqlite/sqlite3.c:21378 |
Medium |
V1071 |
Consider inspecting the 'sqlite3AuthCheck' function. The return value is not always used. Total calls: 33, discarded results: 3. |
General Analysis |
sqlite3.c:21476/home/dc/src-svn/ptokax/sqlite/sqlite3.c:21476 |
Medium |
V1071 |
Consider inspecting the 'sqlite3ReadSchema' function. The return value is not always used. Total calls: 12, discarded results: 1. |
General Analysis |
sqlite3.c:21561/home/dc/src-svn/ptokax/sqlite/sqlite3.c:21561 |
Medium |
V1071 |
Consider inspecting the 'sqlite3ResolveExprNames' function. The return value is not always used. Total calls: 17, discarded results: 1. |
General Analysis |
sqlite3.c:21620/home/dc/src-svn/ptokax/sqlite/sqlite3.c:21620 |
Medium |
V1071 |
Consider inspecting the 'sqlite3StrAccumFinish' function. The return value is not always used. Total calls: 14, discarded results: 1. |
General Analysis |
sqlite3.c:78845/home/dc/src-svn/ptokax/sqlite/sqlite3.c:78845 |
Medium |
V1086 |
A call of the 'memset' function will lead to underflow of the buffer '& b'. |
General Analysis |
sqlite3x.hpp:243/home/dc/src-svn/ptokax/sqlite/sqlite3x.hpp:243 |
Medium |
V1067 |
Throwing from an exception constructor may lead to unexpected behavior. Consider to check function call. |
General Analysis |
tinyxml.cpp:891/home/dc/src-svn/ptokax/tinyxml/tinyxml.cpp:891 |
Medium |
V668 |
There is no sense in testing the 'clone' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
tinyxml.cpp:1136/home/dc/src-svn/ptokax/tinyxml/tinyxml.cpp:1136 |
Medium |
V668 |
There is no sense in testing the 'clone' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
tinyxml.cpp:1323/home/dc/src-svn/ptokax/tinyxml/tinyxml.cpp:1323 |
Medium |
V668 |
There is no sense in testing the 'clone' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
tinyxml.cpp:1370/home/dc/src-svn/ptokax/tinyxml/tinyxml.cpp:1370 |
Medium |
V668 |
There is no sense in testing the 'clone' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
tinyxml.cpp:1459/home/dc/src-svn/ptokax/tinyxml/tinyxml.cpp:1459 |
Medium |
V668 |
There is no sense in testing the 'clone' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
tinyxml.cpp:1491/home/dc/src-svn/ptokax/tinyxml/tinyxml.cpp:1491 |
Medium |
V668 |
There is no sense in testing the 'clone' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
tinyxmlparser.cpp:1378/home/dc/src-svn/ptokax/tinyxml/tinyxmlparser.cpp:1378 |
High |
V586 |
The 'clear' function is called twice for deallocation of the same resource. Check lines: 1340, 1378. |
General Analysis |
tinyxmlparser.cpp:893/home/dc/src-svn/ptokax/tinyxml/tinyxmlparser.cpp:893 |
Medium |
V668 |
There is no sense in testing the 'returnNode' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
tinyxmlparser.cpp:1143/home/dc/src-svn/ptokax/tinyxml/tinyxmlparser.cpp:1143 |
Medium |
V668 |
There is no sense in testing the 'attrib' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
tinyxmlparser.cpp:1194/home/dc/src-svn/ptokax/tinyxml/tinyxmlparser.cpp:1194 |
Medium |
V668 |
There is no sense in testing the 'textNode' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |