FreeBSD Bugzilla – Attachment 116691 Details for
Bug 158674
[PATCH] security/gnupg fix gpg2 Assertion failed: (data), function mpi_from_sexp, file pkglue.c, line 41.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 756 bytes, created by
atkin901
on 2011-07-05 21:10:10 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
atkin901
Created:
2011-07-05 21:10:10 UTC
Size:
756 bytes
patch
obsolete
>diff --git a/g10/pkglue.c b/g10/pkglue.c >index cbfe21e..5c47511 100644 >--- a/g10/pkglue.c >+++ b/g10/pkglue.c >@@ -34,10 +34,10 @@ mpi_from_sexp (gcry_sexp_t sexp, const char * item) > { > gcry_sexp_t list; > gcry_mpi_t data; >- >+ > list = gcry_sexp_find_token (sexp, item, 0); > assert (list); >- data = gcry_sexp_nth_mpi (list, 1, 0); >+ data = gcry_sexp_nth_mpi (list, 1, GCRYMPI_FMT_USG); > assert (data); > gcry_sexp_release (list); > return data; >@@ -293,7 +293,7 @@ pk_decrypt (int algo, gcry_mpi_t * result, gcry_mpi_t * data, > if (rc) > return rc; > >- *result = gcry_sexp_nth_mpi (s_plain, 0, 0); >+ *result = gcry_sexp_nth_mpi (s_plain, 0, GCRYMPI_FMT_USG); > gcry_sexp_release (s_plain); > if (!*result) > return -1; /* oops */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 158674
: 116691