2844 if (sendsocket(spy_socket[sbbs->cfg.node_num - 1], (char*)buf + bufbot, i) != i && SOCKET_ERRNO != EPIPE)CID 651667: (INTEGER_OVERFLOW)
"i", which might have underflowed, is passed to "send(spy_socket[sbbs->cfg.node_num - 1], (char *)buf + bufbot, i, 0)".
2806 i = sendsocket(sbbs->client_socket, (char*)buf + bufbot, sendbytes);CID 651667: (INTEGER_OVERFLOW)
"sendbytes", which might have underflowed, is passed to "send(sbbs->client_socket.operator std::__atomic_base<int>::__int_type(), (char *)buf + bufbot, sendbytes, 0)".
109 bprintf(text[UserDates]CID 651709: Resource leaks (RESOURCE_LEAK)
Variable "find_expr" going out of scope leaks the storage it points to. 108 return;
167 user.number = l & ~0x80000000L;CID 652885: Integer handling issues (INTEGER_OVERFLOW)
Expression "user.number", where "l & 0xffffffff7fffffffL" is known to be equal to -2147483649, overflows the type of "user.number", which is type "int".
214 ssize_t rd = read(file, buf + got, bufsize - got);CID 653403: Insecure data handling (INTEGER_OVERFLOW)
"64000UL - got", which might have underflowed, is passed to "read(file, buf + got, 64000UL - got)".
1223 remove(str);CID 654570: (CHECKED_RETURN)
Calling "remove(str)" without checking return value. This library function may fail and return an error code.
1213 remove(str);CID 654570: (CHECKED_RETURN)
Calling "remove(str)" without checking return value. This library function may fail and return an error code.
101 if (at == count || lengths[at] < 2)CID 654569: Memory - illegal accesses (OVERRUN)
Overrunning array "lengths" of 32 8-byte elements at element index 32 (byte offset 263) using index "at" (which evaluates to 32).
1925 }CID 654568: (RESOURCE_LEAK)
Handle variable "fd" going out of scope leaks the handle.
1925 }CID 654568: (RESOURCE_LEAK)
Handle variable "fd" going out of scope leaks the handle.
501 cio_api.mode=fullscreen?CIOLIB_MODE_SDL_FULLSCREEN:CIOLIB_MODE_SDL;CID 655740: Concurrent data access violations (MISSING_LOCK) >>> Accessing "fullscreen" without holding lock "win_mutex". Elsewhere, "fullscreen" is written to with "win_mutex" held 3 out of 3 times (3 of these accesses strongly imply that it is necessary).
2782 GCESSTR(err, node, sbbs->ssh_session, "pushing data");CID 655739: (ATOMICITY)
Using an unreliable value of "GCES_level" inside the second locked section. If the data that "GCES_level" depends on was changed by another thread, this use might be incorrect.
2764 GCESSTR(err, node, sbbs->ssh_session, "setting channel");CID 655739: (ATOMICITY)
Using an unreliable value of "GCES_level" inside the second locked section. If the data that "GCES_level" depends on was changed by another thread, this use might be incorrect.
4542 iniSetUInteger(&ini, ROOT_SECTION, "done", (uint)*done, NULL);CID 656168: High impact quality (Y2K38_SAFETY)
A "time_t" value is stored in an integer with too few bits to accommodate it. The expression "*done" is cast to "uint".
| Sysop: | Angel Ripoll |
|---|---|
| Location: | Madrid, Spain |
| Users: | 18 |
| Nodes: | 8 (0 / 8) |
| Uptime: | 533:29:35 |
| Calls: | 1,353 |
| Files: | 2,727 |
| D/L today: |
2 files (4K bytes) |
| Messages: | 68,470 |