Skip to content
Snippets Groups Projects
Commit c0d41075 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

More suppressions

parent 02a684fa
No related branches found
No related tags found
No related merge requests found
...@@ -86,7 +86,7 @@ modem_output_thread(void *args) ...@@ -86,7 +86,7 @@ modem_output_thread(void *args)
} }
sent = 0; sent = 0;
while (com != COM_HANDLE_INVALID && sent < wr && !conn_api.terminate) { while (com != COM_HANDLE_INVALID && sent < wr && !conn_api.terminate) {
// coverity[overlow:SUPPRESS] // coverity[overflow:SUPPRESS]
ret = comWriteBuf(com, conn_api.wr_buf + sent, wr - sent); ret = comWriteBuf(com, conn_api.wr_buf + sent, wr - sent);
if (ret > 0) if (ret > 0)
sent += ret; sent += ret;
......
...@@ -919,7 +919,7 @@ ssh_connect(struct bbslist *bbs) ...@@ -919,7 +919,7 @@ ssh_connect(struct bbslist *bbs)
uifc.pop("Getting SSH Channel"); uifc.pop("Getting SSH Channel");
} }
// Using ssh_channel outside of ssh_mutex (which doesn't exist yet) // Using ssh_channel outside of ssh_mutex (which doesn't exist yet)
/* coverity[missing_lock] */ /* coverity[missing_lock:SUPPRESS] */
status = cryptGetAttribute(ssh_session, CRYPT_SESSINFO_SSH_CHANNEL, &ssh_channel); status = cryptGetAttribute(ssh_session, CRYPT_SESSINFO_SSH_CHANNEL, &ssh_channel);
if (cryptStatusError(status) || ssh_channel == -1) { if (cryptStatusError(status) || ssh_channel == -1) {
free(pubkey); free(pubkey);
......
...@@ -35,7 +35,7 @@ void read_uifc_ini(const char* path, uifcapi_t* uifc, int* ciolib_mode, enum tex ...@@ -35,7 +35,7 @@ void read_uifc_ini(const char* path, uifcapi_t* uifc, int* ciolib_mode, enum tex
if (ciolib_mode != NULL) if (ciolib_mode != NULL)
*ciolib_mode = iniReadInteger(fp, section, "ciolib_mode", *ciolib_mode); *ciolib_mode = iniReadInteger(fp, section, "ciolib_mode", *ciolib_mode);
// No vstatlock around ciolib_initial_scaling because the lock shouldn't exist yet // No vstatlock around ciolib_initial_scaling because the lock shouldn't exist yet
/* coverity[missing_lock] */ /* coverity[missing_lock:SUPPRESS] */
ciolib_initial_scaling = iniReadFloat(fp, section, "scaling", ciolib_initial_scaling); ciolib_initial_scaling = iniReadFloat(fp, section, "scaling", ciolib_initial_scaling);
if (fp != NULL) if (fp != NULL)
......
...@@ -1029,6 +1029,7 @@ void xp_play_sample_thread(void *data) ...@@ -1029,6 +1029,7 @@ void xp_play_sample_thread(void *data)
} }
this_sample_size=sample_size; this_sample_size=sample_size;
FREE_AND_NULL(sample); FREE_AND_NULL(sample);
// coverity[def:SUPPRESS]
sample=(unsigned char *)malloc(sample_size); sample=(unsigned char *)malloc(sample_size);
if(sample==NULL) { if(sample==NULL) {
sem_post(&sample_complete_sem); sem_post(&sample_complete_sem);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment