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

Annotate intentional "missing locks"

parent b116fab0
Branches
Tags
No related merge requests found
......@@ -917,6 +917,8 @@ ssh_connect(struct bbslist *bbs)
uifc.pop(NULL);
uifc.pop("Getting SSH Channel");
}
// Using ssh_channel outside of ssh_mutex (which doesn't exist yet)
/* coverity[missing_lock] */
status = cryptGetAttribute(ssh_session, CRYPT_SESSINFO_SSH_CHANNEL, &ssh_channel);
if (cryptStatusError(status) || ssh_channel == -1) {
free(pubkey);
......
......@@ -34,6 +34,8 @@ void read_uifc_ini(const char* path, uifcapi_t* uifc, int* ciolib_mode, enum tex
uifc->esc_delay = iniReadInteger(fp, section, "esc_delay", uifc->esc_delay);
if (ciolib_mode != NULL)
*ciolib_mode = iniReadInteger(fp, section, "ciolib_mode", *ciolib_mode);
// No vstatlock around ciolib_initial_scaling because the lock shouldn't exist yet
/* coverity[missing_lock] */
ciolib_initial_scaling = iniReadFloat(fp, section, "scaling", ciolib_initial_scaling);
if (fp != NULL)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment