[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcrypt-devel
Subject:    [PATCH] Use internall malloc in fips.c
From:       Michal Vyskocil <mvyskocil () suse ! cz>
Date:       2013-12-19 10:42:57
Message-ID: 20131219104253.GA19714 () linux-xtv2 ! site
[Download RAW message or body]

[Attachment #2 (multipart/signed)]

[Attachment #4 (multipart/mixed)]


Hi,

I've found this minor issue in 1.6.0 - gcry_malloc is not available in
fips.c, so and internal one is used instead.

Regards
Michal Vyskocil

["libgcrypt-1.6.0-use-intenal-functions.patch" (text/x-patch)]

From: Michal Vyskoci<mvyskocil@suse.com>
Subject: Use internall malloc in fips.c


---
 src/fips.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: libgcrypt-1.6.0/src/fips.c
===================================================================
--- libgcrypt-1.6.0.orig/src/fips.c
+++ libgcrypt-1.6.0/src/fips.c
@@ -613,7 +613,7 @@ check_binary_integrity (void)
         err = gpg_error (GPG_ERR_INTERNAL);
       else
         {
-          fname = gcry_malloc (strlen (info.dli_fname) + 1 + 5 + 1 );
+          fname = _gcry_malloc (strlen (info.dli_fname) + 1 + 5 + 1 );
           if (!fname)
             err = gpg_error_from_syserror ();
           else

["signature.asc" (application/pgp-signature)]

_______________________________________________
Gcrypt-devel mailing list
Gcrypt-devel@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gcrypt-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic