Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coverity #3472

Merged
merged 114 commits into from
Sep 30, 2024
Merged

Coverity #3472

merged 114 commits into from
Sep 30, 2024

Conversation

oanatitoc
Copy link
Contributor

No description provided.

@@ -769,6 +769,9 @@ mi_response_t *w_mi_subscribers_list_1(const mi_params_t *params,
return init_mi_error(404, MI_SSTR("Event not published"));
/* get the event id & before printing the subs list check for any expired subscribers and remove them*/
evid = evi_get_id(&event_s);
if (evid == -1)
return init_mi_error(404, MI_SSTR("Can't get the id"));

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra tab is required

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for pointing that out!

@@ -44,17 +44,18 @@ int extract_pub_key_from_cert(struct sip_msg* _msg, str* cert,

/* TODO - if x5c just add beggining & end */

if (cert == NULL) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent tabs

@oanatitoc oanatitoc force-pushed the coverity branch 7 times, most recently from ab35ad0 to 7a5c829 Compare September 25, 2024 12:11
CID #417694, #417767, #417456
oanatitoc and others added 21 commits September 27, 2024 12:02
CID #40763, #40764
CID #417719, #417510
CID #417617, #417773, #417451, #417759
CID #417655, #417442, #417801, #417808
CID #417620, #417646
* MongoDB: goto "out_err" in the new if-block, to free the resources
* mid-registrar: on mid_reg_save() quick-exit, check .flags before reply
* EVI: fix "infinite loop" bug in evi_remove_expired_subs()
* various whitespace fixes
Completes commit 4c8fc99 solving CID #417715
@liviuchircu liviuchircu merged commit 6a7bf5d into OpenSIPS:master Sep 30, 2024
48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants