Created
February 1, 2019 13:13
-
-
Save hfiref0x/bb7b9843e08217e1510e461d566e2b09 to your computer and use it in GitHub Desktop.
libvncserver
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Build/LibVNCServer/test/encodingstest.c 195 warn V522 There might be dereferencing of a potential null pointer 'cd'. Check lines: 195, 189. | |
/Build/LibVNCServer/test/encodingstest.c 198 warn V575 The potential null pointer is passed into 'sprintf' function. Inspect the first argument. Check lines: 198, 197. | |
/Build/LibVNCServer/test/encodingstest.c 287 warn V522 There might be dereferencing of a potential null pointer 'server->frameBuffer'. Check lines: 287, 284. | |
/Build/LibVNCServer/client_examples/vnc2mpg.c 342 warn V1004 The 'video_st' pointer was used unsafely after it was verified against nullptr. Check lines: 336, 342. | |
/Build/LibVNCServer/client_examples/vnc2mpg.c 360 warn V707 Giving short names to global variables is considered to be bad practice. It is suggested to rename 'oc' variable. | |
/Build/LibVNCServer/examples/example.c 158 warn V519 The 'cd->oldButton' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 156, 158. | |
/Build/LibVNCServer/examples/example.c 271 warn V522 There might be dereferencing of a potential null pointer 'c->richSource'. Check lines: 271, 267. | |
/Build/LibVNCServer/examples/colourmaptest.c 27 warn V522 There might be dereferencing of a potential null pointer 'server->frameBuffer'. Check lines: 27, 25. | |
/Build/LibVNCServer/examples/colourmaptest.c 23 warn V507 Pointer to local array 'bytes' is stored outside the scope of this array. Such a pointer will become invalid. | |
/Build/LibVNCServer/examples/simple15.c 18 warn V522 There might be dereferencing of a potential null pointer 'f'. Check lines: 18, 14. | |
/Build/LibVNCServer/examples/simple15.c 20 warn V592 The expression was enclosed by parentheses twice: '((i * 32 / 400))'. One pair of parentheses is unnecessary or misprint is present. | |
/Build/LibVNCServer/examples/pnmshow.c 81 err V1010 Unchecked tainted data is used in the first argument: 'height'. Check lines: 81, 54. | |
/Build/LibVNCServer/examples/pnmshow.c 82 warn V575 The potential null pointer is passed into 'fread' function. Inspect the first argument. Check lines: 82, 81. | |
/Build/LibVNCServer/examples/vncev.c 59 warn V575 The potential null pointer is passed into 'strcpy' function. Inspect the first argument. Check lines: 59, 58. | |
/Build/LibVNCServer/libvncclient/rfbproto.c 126 warn V522 There might be dereferencing of a potential null pointer 'clientData'. Check lines: 126, 125. | |
/Build/LibVNCServer/libvncclient/rfbproto.c 307 warn V522 There might be dereferencing of a potential null pointer 'rec'. Check lines: 307, 304. | |
/Build/LibVNCServer/libvncclient/rfbproto.c 433 warn V522 There might be dereferencing of a potential null pointer 'reason'. Check lines: 433, 431. | |
/Build/LibVNCServer/libvncclient/rfbproto.c 520 warn V560 A part of conditional expression is always false: tAuth[loop] == 19. | |
/Build/LibVNCServer/libvncclient/rfbproto.c 985 warn V522 There might be dereferencing of a potential null pointer 'client->clientAuthSchemes'. Check lines: 985, 983. | |
/Build/LibVNCServer/libvncclient/rfbproto.c 1014 warn V519 The 'pv[12]' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 1010, 1014. | |
/Build/LibVNCServer/libvncclient/rfbproto.c 1265 warn V1032 The pointer 'buf' is cast to a more strictly aligned pointer type. | |
/Build/LibVNCServer/libvncclient/rfbproto.c 1438 warn V560 A part of conditional expression is always false: requestLastRectEncoding. | |
/Build/LibVNCServer/libvncclient/rfbproto.c 1874 warn V522 There might be dereferencing of a potential null pointer 'buffer'. Check lines: 1874, 1868. | |
/Build/LibVNCServer/libvncclient/rfbproto.c 2237 warn V522 There might be dereferencing of a potential null pointer 'buffer'. Check lines: 2237, 2230. | |
/Build/LibVNCServer/libvncclient/rfbproto.c 2278 warn V522 There might be dereferencing of a potential null pointer 'buffer'. Check lines: 2278, 2271. | |
/Build/LibVNCServer/libvncclient/hextile.c 67 warn V614 Potentially uninitialized variable 'bg' used. Consider checking the sixth actual argument of the 'GotFillRect' function. | |
/Build/LibVNCServer/libvncclient/trle.c 109 err V614 Uninitialized variable 'last_type' used. | |
/Build/LibVNCServer/libvncclient/trle.c 257 err V547 Expression 'type > 16' is always false. | |
/Build/LibVNCServer/libvncclient/trle.c 95 err V729 Function body contains the 'case_0' label that is not used by any 'goto' statements. | |
/Build/LibVNCServer/libvncclient/zrle.c 297 warn V560 A part of conditional expression is always true: (type >= 2). | |
/Build/LibVNCServer/common/zywrletemplate.c 819 warn V1032 The pointer 'pData' is cast to a more strictly aligned pointer type. | |
/Build/LibVNCServer/libvncclient/vncviewer.c 71 warn V522 There might be dereferencing of a potential null pointer 'p'. Check lines: 71, 69. | |
/Build/LibVNCServer/libvncclient/vncviewer.c 103 warn V547 Expression 'allocSize >= (18446744073709551615UL)' is always false. | |
/Build/LibVNCServer/libvncclient/vncviewer.c 464 warn V522 There might be dereferencing of a potential null pointer 'client->destHost'. Check lines: 464, 462. | |
/Build/LibVNCServer/libvncclient/vncviewer.c 476 warn V522 There might be dereferencing of a potential null pointer 'client->serverHost'. Check lines: 476, 475. | |
/Build/LibVNCServer/libvncclient/tls_gnutls.c 331 warn V547 Expression 'count > sizeof (tAuth)' is always false. The value range of unsigned char type: [0, 255]. | |
/Build/LibVNCServer/common/minilzo.c 4937 err V521 Such expressions using the ',' operator are dangerous. Make sure the expression '(void) 0, n__n >= 8' is correct. | |
/Build/LibVNCServer/common/minilzo.c 4937 err V521 Such expressions using the ',' operator are dangerous. Make sure the expression '(void) 0, n__n >= 4' is correct. | |
/Build/LibVNCServer/common/minilzo.c 4937 err V521 Such expressions using the ',' operator are dangerous. Make sure the expression '(void) 0, n__n > 0' is correct. | |
/Build/LibVNCServer/common/minilzo.c 5678 warn 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 '(t) > (lzo_uint) 0 - (511)' expression. | |
/Build/LibVNCServer/common/minilzo.c 5826 warn 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 '(t) > (lzo_uint) 0 - (511)' expression. | |
/Build/LibVNCServer/common/minilzo.c 5871 warn 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 '(t) > (lzo_uint) 0 - (511)' expression. | |
/Build/LibVNCServer/libvncserver/main.c 174 warn V522 There might be dereferencing of a potential null pointer 'extData'. Check lines: 174, 173. | |
/Build/LibVNCServer/libvncserver/main.c 858 warn V522 There might be dereferencing of a potential null pointer 'screen'. Check lines: 858, 847. | |
/Build/LibVNCServer/libvncserver/rfbserver.c 185 warn V522 There might be dereferencing of a potential null pointer 'i'. Check lines: 185, 184. | |
/Build/LibVNCServer/libvncserver/rfbserver.c 196 warn V522 There might be dereferencing of a potential null pointer 'i'. Check lines: 196, 195. | |
/Build/LibVNCServer/libvncserver/rfbserver.c 325 warn V522 There might be dereferencing of a potential null pointer 'cl'. Check lines: 325, 323. | |
/Build/LibVNCServer/libvncserver/rfbserver.c 220 warn V522 Dereferencing of the null pointer 'i' might take place. The potential null pointer is passed into 'rfbClientIteratorNext' function. Inspect the first argument. Check lines: 220, 359. | |
/Build/LibVNCServer/libvncserver/rfbserver.c 727 warn V522 There might be dereferencing of a potential null pointer '(uint32_t *) buf'. Check lines: 727, 726. | |
/Build/LibVNCServer/libvncserver/rfbserver.c 752 warn V522 There might be dereferencing of a potential null pointer '(uint32_t *) buf'. Check lines: 752, 751. | |
/Build/LibVNCServer/libvncserver/rfbserver.c 220 warn V522 Dereferencing of the null pointer 'i' might take place. The potential null pointer is passed into 'rfbClientIteratorNext' function. Inspect the first argument. Check lines: 220, 835. | |
/Build/LibVNCServer/libvncserver/rfbserver.c 1200 warn V707 Giving short names to global variables is considered to be bad practice. It is suggested to rename 'DB' variable. | |
/Build/LibVNCServer/libvncserver/rfbserver.c 1481 warn V560 A part of conditional expression is always false: length == (18446744073709551615UL). | |
/Build/LibVNCServer/libvncserver/rfbserver.c 1495 warn V547 Expression 'buffer != NULL' is always true. | |
/Build/LibVNCServer/libvncserver/rfbserver.c 1656 warn V547 Expression 'buffer != NULL' is always false. | |
/Build/LibVNCServer/libvncserver/rfbserver.c 1665 warn V547 Expression 'buffer != NULL' is always true. | |
/Build/LibVNCServer/libvncserver/rfbserver.c 1715 warn V701 realloc() possible leak: when realloc() fails in allocating memory, original pointer 'buffer' is lost. Consider assigning realloc() to a temporary pointer. | |
/Build/LibVNCServer/libvncserver/rfbserver.c 1739 warn V547 Expression 'buffer != NULL' is always true. | |
/Build/LibVNCServer/libvncserver/rfbserver.c 1743 warn V614 Potentially uninitialized variable 'statbuf.st_size' used. | |
/Build/LibVNCServer/libvncserver/rfbserver.c 1755 warn V547 Expression 'buffer != NULL' is always true. | |
/Build/LibVNCServer/libvncserver/rfbserver.c 1810 warn V547 Expression 'buffer != NULL' is always true. | |
/Build/LibVNCServer/libvncserver/rfbserver.c 1922 warn V547 Expression 'cl->screen->permitFileTransfer' is always true. | |
/Build/LibVNCServer/libvncserver/rfbserver.c 1952 warn V547 Expression 'buffer != NULL' is always true. | |
/Build/LibVNCServer/libvncserver/rfbserver.c 1966 warn V547 Expression 'buffer != NULL' is always true. | |
/Build/LibVNCServer/libvncserver/rfbserver.c 1985 warn V547 Expression 'buffer != NULL' is always true. | |
/Build/LibVNCServer/libvncserver/rfbserver.c 1999 warn V547 Expression 'buffer != NULL' is always true. | |
/Build/LibVNCServer/libvncserver/rfbserver.c 2111 warn V519 The 'cl->enableCursorShapeUpdates' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 2110, 2111. | |
/Build/LibVNCServer/libvncserver/rfbserver.c 2871 warn V640 The code's operational logic does not correspond with its formatting. The statement is indented to the right, but it is always executed. It is possible that curly brackets are missing. | |
/Build/LibVNCServer/libvncserver/rfbserver.c 220 warn V522 Dereferencing of the null pointer 'i' might take place. The potential null pointer is passed into 'rfbClientIteratorNext' function. Inspect the first argument. Check lines: 220, 3505. | |
/Build/LibVNCServer/libvncserver/rfbserver.c 220 warn V522 Dereferencing of the null pointer 'i' might take place. The potential null pointer is passed into 'rfbClientIteratorNext' function. Inspect the first argument. Check lines: 220, 3531. | |
/Build/LibVNCServer/libvncserver/rfbregion.c 36 warn V522 There might be dereferencing of a potential null pointer 'item'. Check lines: 36, 35. | |
/Build/LibVNCServer/libvncserver/rfbregion.c 120 warn V522 There might be dereferencing of a potential null pointer 'item'. Check lines: 120, 119. | |
/Build/LibVNCServer/libvncserver/rfbregion.c 137 warn V522 There might be dereferencing of a potential null pointer 'newlist'. | |
/Build/LibVNCServer/libvncserver/rfbregion.c 61 warn V522 Dereferencing of the null pointer 'newspan' might take place. The potential null pointer is passed into 'sraSpanInsertBefore' function. Inspect the first argument. Check lines: 61, 292. | |
/Build/LibVNCServer/libvncserver/rfbregion.c 61 warn V522 Dereferencing of the null pointer 'newspan' might take place. The potential null pointer is passed into 'sraSpanInsertBefore' function. Inspect the first argument. Check lines: 61, 308. | |
/Build/LibVNCServer/libvncserver/rfbregion.c 53 warn V522 Dereferencing of the null pointer 'newspan' might take place. The potential null pointer is passed into 'sraSpanInsertAfter' function. Inspect the first argument. Check lines: 53, 317. | |
/Build/LibVNCServer/libvncserver/rfbregion.c 61 warn V522 Dereferencing of the null pointer 'newspan' might take place. The potential null pointer is passed into 'sraSpanInsertBefore' function. Inspect the first argument. Check lines: 61, 324. | |
/Build/LibVNCServer/libvncserver/rfbregion.c 53 warn V522 Dereferencing of the null pointer 'newspan' might take place. The potential null pointer is passed into 'sraSpanInsertAfter' function. Inspect the first argument. Check lines: 53, 396. | |
/Build/LibVNCServer/libvncserver/rfbregion.c 61 warn V522 Dereferencing of the null pointer 'newspan' might take place. The potential null pointer is passed into 'sraSpanInsertBefore' function. Inspect the first argument. Check lines: 61, 468. | |
/Build/LibVNCServer/libvncserver/rfbregion.c 53 warn V522 Dereferencing of the null pointer 'newspan' might take place. The potential null pointer is passed into 'sraSpanInsertAfter' function. Inspect the first argument. Check lines: 53, 475. | |
/Build/LibVNCServer/libvncserver/rfbregion.c 523 warn V522 There might be dereferencing of a potential null pointer 'hlist'. | |
/Build/LibVNCServer/libvncserver/rfbregion.c 53 warn V522 Dereferencing of the null pointer 'newspan' might take place. The potential null pointer is passed into 'sraSpanInsertAfter' function. Inspect the first argument. Check lines: 53, 523. | |
/Build/LibVNCServer/libvncserver/rfbregion.c 528 warn V522 There might be dereferencing of a potential null pointer 'vlist'. | |
/Build/LibVNCServer/libvncserver/rfbregion.c 53 warn V522 Dereferencing of the null pointer 'newspan' might take place. The potential null pointer is passed into 'sraSpanInsertAfter' function. Inspect the first argument. Check lines: 53, 528. | |
/Build/LibVNCServer/libvncserver/rfbregion.c 752 warn V701 realloc() possible leak: when realloc() fails in allocating memory, original pointer 'i->sPtrs' is lost. Consider assigning realloc() to a temporary pointer. | |
/Build/LibVNCServer/libvncserver/auth.c 312 err V547 Expression 'securityType == 0' is always false. | |
/Build/LibVNCServer/libvncserver/sockets.c 820 warn V1020 The function exited without calling the 'pthread_mutex_unlock' function. Check lines: 820, 803. | |
/Build/LibVNCServer/libvncserver/corre.c 104 warn V701 realloc() possible leak: when realloc() fails in allocating memory, original pointer 'cl->beforeEncBuf' is lost. Consider assigning realloc() to a temporary pointer. | |
/Build/LibVNCServer/libvncserver/corre.c 112 warn V701 realloc() possible leak: when realloc() fails in allocating memory, original pointer 'cl->afterEncBuf' is lost. Consider assigning realloc() to a temporary pointer. | |
/Build/LibVNCServer/libvncserver/corre.c 330 warn V547 Expression 'k >= 256' is always false. | |
/Build/LibVNCServer/libvncserver/rre.c 70 warn V701 realloc() possible leak: when realloc() fails in allocating memory, original pointer 'cl->beforeEncBuf' is lost. Consider assigning realloc() to a temporary pointer. | |
/Build/LibVNCServer/libvncserver/rre.c 78 warn V701 realloc() possible leak: when realloc() fails in allocating memory, original pointer 'cl->afterEncBuf' is lost. Consider assigning realloc() to a temporary pointer. | |
/Build/LibVNCServer/libvncserver/rre.c 297 warn V547 Expression 'k >= 256' is always false. | |
/Build/LibVNCServer/libvncserver/translate.c 364 warn V1032 The pointer 'buf' is cast to a more strictly aligned pointer type. | |
/Build/LibVNCServer/libvncserver/httpd.c 385 warn V576 Incorrect format. Consider checking the third actual argument of the 'sscanf' function. It's dangerous to use string specifier without width specification. Buffer overflow is possible. | |
/Build/LibVNCServer/libvncserver/httpd.c 427 err V547 Expression 'strstr(fname, "..")' is always false. | |
/Build/LibVNCServer/libvncserver/httpd.c 436 err V547 Expression 'strcmp(fname, "/") == 0' is always true. | |
/Build/LibVNCServer/libvncserver/httpd.c 443 warn V560 A part of conditional expression is always false: strlen(fname) >= 4. | |
/Build/LibVNCServer/libvncserver/httpd.c 473 err V547 Expression 'n < 0' is always false. | |
/Build/LibVNCServer/libvncserver/httpd.c 483 warn V547 Expression 'performSubstitutions' is always false. | |
/Build/LibVNCServer/libvncserver/cursor.c 261 warn V522 There might be dereferencing of a potential null pointer 'cursor'. Check lines: 261, 257. | |
/Build/LibVNCServer/libvncserver/cursor.c 271 warn V522 There might be dereferencing of a potential null pointer 'cursor->source'. Check lines: 271, 267. | |
/Build/LibVNCServer/libvncserver/cursor.c 277 warn V522 There might be dereferencing of a potential null pointer 'cursor->mask'. Check lines: 277, 274. | |
/Build/LibVNCServer/libvncserver/cursor.c 298 warn V522 There might be dereferencing of a potential null pointer 'mask'. Check lines: 298, 288. | |
/Build/LibVNCServer/libvncserver/cursor.c 319 warn V522 There might be dereferencing of a potential null pointer 'error'. Check lines: 319, 312. | |
/Build/LibVNCServer/libvncserver/cursor.c 326 warn V522 There might be dereferencing of a potential null pointer 'result'. Check lines: 326, 314. | |
/Build/LibVNCServer/libvncserver/cursor.c 407 warn V547 Expression 'db' is always false. | |
/Build/LibVNCServer/libvncserver/cursor.c 426 warn V522 There might be dereferencing of a potential null pointer 'cursor->source'. Check lines: 426, 382. | |
/Build/LibVNCServer/libvncserver/cursor.c 427 warn V547 Expression 'db' is always false. | |
/Build/LibVNCServer/libvncserver/cursor.c 429 warn V547 Expression 'db' is always false. | |
/Build/LibVNCServer/libvncserver/cursor.c 436 warn V547 Expression 'db' is always false. | |
/Build/LibVNCServer/libvncserver/cursor.c 466 warn V575 The potential null pointer is passed into 'memcpy' function. Inspect the first argument. Check lines: 466, 451. | |
/Build/LibVNCServer/libvncserver/font.c 173 warn V522 There might be dereferencing of a potential null pointer 'p'. Check lines: 173, 172. | |
/Build/LibVNCServer/libvncserver/font.c 174 warn V575 The potential null pointer is passed into 'fread' function. Inspect the first argument. Check lines: 174, 173. | |
/Build/LibVNCServer/libvncserver/font.c 183 warn V522 There might be dereferencing of a potential null pointer 'p->metaData'. Check lines: 183, 181. | |
/Build/LibVNCServer/libvncserver/selbox.c 270 warn V769 The 'frameBufferBackup' pointer in the 'frameBufferBackup + j * (x2 - x1) * bpp' expression could be nullptr. In such case, resulting value will be senseless and it should not be used. Check lines: 270, 247. | |
/Build/LibVNCServer/common/vncauth.c 138 warn V522 There might be dereferencing of a potential null pointer 'passwd'. Check lines: 138, 124. | |
/Build/LibVNCServer/libvncserver/cargs.c 132 warn V522 There might be dereferencing of a potential null pointer 'passwds'. Check lines: 132, 127. | |
/Build/LibVNCServer/libvncserver/cargs.c 130 err V773 The function was exited without releasing the 'passwds' pointer. A memory leak is possible. | |
/Build/LibVNCServer/libvncserver/ultra.c 66 warn V701 realloc() possible leak: when realloc() fails in allocating memory, original pointer 'cl->beforeEncBuf' is lost. Consider assigning realloc() to a temporary pointer. | |
/Build/LibVNCServer/libvncserver/ultra.c 80 warn V701 realloc() possible leak: when realloc() fails in allocating memory, original pointer 'cl->afterEncBuf' is lost. Consider assigning realloc() to a temporary pointer. | |
/Build/LibVNCServer/libvncserver/ultra.c 99 err V1028 Possible overflow. Consider casting operands, not the result. | |
/Build/LibVNCServer/libvncserver/scale.c 229 err V629 Consider inspecting the 'srcptr2[z] << (8 * z)' expression. Bit shifting of the 32-bit value with a subsequent expansion to the 64-bit type. | |
/Build/LibVNCServer/libvncserver/rfbssl_gnutls.c 55 warn V562 It's odd to compare a bool type value with a value of not bool type. | |
/Build/LibVNCServer/libvncserver/rfbssl_gnutls.c 57 warn V562 It's odd to compare a bool type value with a value of not bool type. | |
/Build/LibVNCServer/libvncserver/rfbssl_gnutls.c 59 warn V562 It's odd to compare a bool type value with a value of not bool type. | |
/Build/LibVNCServer/libvncserver/rfbssl_gnutls.c 94 warn V562 It's odd to compare a bool type value with a value of not bool type. | |
/Build/LibVNCServer/libvncserver/rfbssl_gnutls.c 96 warn V562 It's odd to compare a bool type value with a value of not bool type. | |
/Build/LibVNCServer/libvncserver/rfbssl_gnutls.c 100 warn V562 It's odd to compare a bool type value with a value of not bool type. | |
/Build/LibVNCServer/libvncserver/rfbssl_gnutls.c 102 warn V562 It's odd to compare a bool type value with a value of not bool type. | |
/Build/LibVNCServer/libvncserver/zlib.c 107 warn V701 realloc() possible leak: when realloc() fails in allocating memory, original pointer 'zlibBeforeBuf' is lost. Consider assigning realloc() to a temporary pointer. | |
/Build/LibVNCServer/libvncserver/zlib.c 147 warn V701 realloc() possible leak: when realloc() fails in allocating memory, original pointer 'zlibAfterBuf' is lost. Consider assigning realloc() to a temporary pointer. | |
/Build/LibVNCServer/common/zywrletemplate.c 772 warn V1032 The pointer 'pData' is cast to a more strictly aligned pointer type. | |
/Build/LibVNCServer/libvncserver/zrleoutstream.c 55 warn V701 realloc() possible leak: when realloc() fails in allocating memory, original pointer 'buffer->start' is lost. Consider assigning realloc() to a temporary pointer. | |
/Build/LibVNCServer/libvncserver/tightvnc-filetransfer/rfbtightserver.c 247 warn V547 Expression 'nTypes' is always false. | |
/Build/LibVNCServer/libvncserver/tightvnc-filetransfer/rfbtightserver.c 296 err V547 Expression 'i != 4' is always false. | |
/Build/LibVNCServer/libvncserver/tightvnc-filetransfer/rfbtightserver.c 313 err V547 Expression 'i != 6' is always false. | |
/Build/LibVNCServer/libvncserver/tightvnc-filetransfer/rfbtightserver.c 338 err V547 Expression 'i != n_enc_caps' is always false. | |
/Build/LibVNCServer/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c 146 err V575 The 'memcpy' function doesn't copy the whole string. Use 'strcpy / strcpy_s' function to preserve terminal null. | |
/Build/LibVNCServer/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c 214 err V575 The 'memcpy' function doesn't copy the whole string. Use 'strcpy / strcpy_s' function to preserve terminal null. | |
/Build/LibVNCServer/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c 351 err V597 The compiler could delete the 'memset' function call, which is used to flush 'path' buffer. The memset_s() function should be used to erase the private data. | |
/Build/LibVNCServer/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c 433 warn V547 Expression 'path != NULL' is always true. | |
/Build/LibVNCServer/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c 441 warn V547 Expression 'path != NULL' is always true. | |
/Build/LibVNCServer/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c 591 warn V547 Expression 'reason != NULL' is always true. | |
/Build/LibVNCServer/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c 618 err V597 The compiler could delete the 'memset' function call, which is used to flush 'path' buffer. The memset_s() function should be used to erase the private data. | |
/Build/LibVNCServer/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c 694 warn V547 Expression 'path != NULL' is always true. | |
/Build/LibVNCServer/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c 705 warn V547 Expression 'path != NULL' is always true. | |
/Build/LibVNCServer/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c 813 warn V547 Expression 'pBuf != NULL' is always true. | |
/Build/LibVNCServer/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c 833 warn V547 Expression 'pBuf != NULL' is always true. | |
/Build/LibVNCServer/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c 845 warn V547 Expression 'pBuf != NULL' is always true. | |
/Build/LibVNCServer/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c 920 warn V547 Expression 'reason != NULL' is always true. | |
/Build/LibVNCServer/libvncserver/tightvnc-filetransfer/handlefiletransferrequest.c 933 warn V547 Expression 'reason != NULL' is always true. | |
/Build/LibVNCServer/libvncserver/tightvnc-filetransfer/filetransfermsg.c 492 warn V560 A part of conditional expression is always false: (path == NULL). | |
/Build/LibVNCServer/libvncserver/tightvnc-filetransfer/filetransfermsg.c 635 warn V600 Consider inspecting the condition. The 'rtcp->rcft.rcfu.fName' pointer is always not equal to NULL. | |
/Build/LibVNCServer/libvncserver/tightvnc-filetransfer/filelistinfo.c 63 err V595 The 'fileListInfoPtr->pEntries' pointer was utilized before it was verified against nullptr. Check lines: 63, 71. | |
/Build/LibVNCServer/libvncserver/tightvnc-filetransfer/filelistinfo.c 90 err V558 Function returns the pointer to temporary local object. | |
/Build/LibVNCServer/libvncserver/websockets.c 338 warn V522 There might be dereferencing of a potential null pointer 'wsctx'. Check lines: 338, 337. | |
/Build/LibVNCServer/examples/fontsel.c 64 warn V560 A part of conditional expression is always false: j < 0. | |
/Build/LibVNCServer/examples/fontsel.c 64 err V654 The condition 'j < 0 && rfbIsActive(s)' of loop is always false. | |
/Build/LibVNCServer/examples/fontsel.c 64 err V621 Consider inspecting the 'for' operator. It's possible that the loop will be executed incorrectly or won't be executed at all. | |
/Build/LibVNCServer/examples/pnmshow24.c 76 err V1010 Unchecked tainted data is used in the first argument: 'height'. Check lines: 76, 49. | |
/Build/LibVNCServer/examples/pnmshow24.c 77 warn V575 The potential null pointer is passed into 'fread' function. Inspect the first argument. Check lines: 77, 76. | |
/Build/LibVNCServer/examples/pnmshow24.c 77 err V1010 Unchecked tainted data is used in the second argument: 'width'. Check lines: 77, 49. | |
/Build/LibVNCServer/client_examples/ppmtest.c 50 err V547 Expression 'bpp == 2' is always true. | |
/Build/LibVNCServer/examples/rotatetemplate.c 12 warn V522 There might be dereferencing of a potential null pointer 'newBuffer'. Check lines: 12, 8. | |
/Build/LibVNCServer/libvncserver/rfbregion.c 213 warn V522 Dereferencing of the null pointer 'list' might take place. The potential null pointer is passed into 'sraRgnCountRects' function. Inspect the first argument. Check lines: 213, 673, 854. | |
/Build/LibVNCServer/libvncserver/rfbregion.c 147 warn V522 Dereferencing of the null pointer 'list' might take place. The potential null pointer is passed into 'sraRgnDestroy' function. Inspect the first argument. Check lines: 147, 542, 881. | |
/Build/LibVNCServer/libvncserver/rfbregion.c 147 warn V522 Dereferencing of the null pointer 'list' might take place. The potential null pointer is passed into 'sraRgnDestroy' function. Inspect the first argument. Check lines: 147, 542, 882. | |
/Build/LibVNCServer/examples/repeater.c 44 warn V522 There might be dereferencing of a potential null pointer 'f'. Check lines: 44, 40. | |
/Build/LibVNCServer/examples/repeater.c 46 warn V592 The expression was enclosed by parentheses twice: '((i * 32 / 400))'. One pair of parentheses is unnecessary or misprint is present. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment