Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F20064745
D243.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
699 B
Subscribers
None
D243.id.diff
View Options
Index: b/cipher/pubkey.c
===================================================================
--- b/cipher/pubkey.c
+++ b/cipher/pubkey.c
@@ -2876,8 +2876,11 @@
init_encoding_ctx (&ctx, PUBKEY_OP_ENCRYPT, gcry_pk_get_nbits (s_pkey));
rc = sexp_data_to_mpi (s_data, &data, &ctx);
if (rc)
+ {
+ mpi_free (data);
+ data = NULL;
goto leave;
-
+ }
/* Now we can encrypt DATA to CIPH. */
ciph = gcry_calloc (strlen (algo_elems) + 1, sizeof (*ciph));
if (!ciph)
@@ -3620,6 +3623,7 @@
if (!arg_list)
{
rc = gpg_err_code_from_syserror ();
+ gcry_free (string)
goto leave;
}
for (i = j = 0; i < elem_n; i++)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 22, 7:30 PM (1 h, 47 s)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
35/15/d63dced161f9ae4a5986c51c6532
Attached To
D243: 480_pubkey.patch
Event Timeline
Log In to Comment