diff options
| author | NIIBE Yutaka <[email protected]> | 2024-05-14 08:48:45 +0200 |
|---|---|---|
| committer | NIIBE Yutaka <[email protected]> | 2026-02-25 05:21:14 +0100 |
| commit | 6cd241007f390a4be8f18982783e79e7cfb42c5f (patch) | |
| tree | 884a42c4d54a62d35110c703e0989036fe959258 | |
| parent | agent: Fix the regression in pkdecrypt with TPM RSA. (diff) | |
| download | gnupg-STABLE-BRANCH-2-4.tar.gz gnupg-STABLE-BRANCH-2-4.zip | |
dirmngr: Fix a call of calloc.STABLE-BRANCH-2-4
* dirmngr/ldap-parse-uri.c (ldap_parse_uri): Fix arguments.
--
Cherry pick master commit of:
14534e72e1135a0323b896339bd1f508a592a7be
Signed-off-by: NIIBE Yutaka <[email protected]>
| -rw-r--r-- | dirmngr/ldap-parse-uri.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dirmngr/ldap-parse-uri.c b/dirmngr/ldap-parse-uri.c index 573bcc77f..5856c1b4e 100644 --- a/dirmngr/ldap-parse-uri.c +++ b/dirmngr/ldap-parse-uri.c @@ -162,7 +162,7 @@ ldap_parse_uri (parsed_uri_t *purip, const char *uri) if (password) { - puri->query = calloc (sizeof (*puri->query), 1); + puri->query = calloc (1, sizeof (*puri->query)); if (!puri->query) { err = gpg_err_code_from_syserror (); |
