Skip to content

Commit

Permalink
Fix insecure format strings
Browse files Browse the repository at this point in the history
For #144.
  • Loading branch information
gaborcsardi committed Dec 10, 2023
1 parent 4dc406c commit f5034d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/keyring_secret_service.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ GList* keyring_secret_service_get_item(SEXP keyring, SEXP service,
if (collection) g_object_unref(collection);
if (attributes) g_hash_table_unref(attributes);
keyring_secret_service_handle_status("get", TRUE, err);
if (errormsg) error(errormsg);
if (errormsg) error("%s", errormsg);

return secretlist;
}
Expand Down Expand Up @@ -348,7 +348,7 @@ SEXP keyring_secret_service_list(SEXP keyring, SEXP service) {
if (secretlist) g_list_free(secretlist);
if (attributes) g_hash_table_unref(attributes);
keyring_secret_service_handle_status("list", TRUE, err);
if (errormsg) error(errormsg);
if (errormsg) error("%s", errormsg);

return result;
}
Expand Down

0 comments on commit f5034d2

Please sign in to comment.