~ruther/guix-local

ref: fa10ae4fbb7c1c12e6de22a6a97a322f09df2a86 guix-local/gnu/packages/patches/mhash-keygen-test-segfault.patch -rw-r--r-- 357 bytes
fa10ae4f — Hartmut Goebel gnu: kfilemetadata: Enable support for PDF files and audio files. 8 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
This patch from resolution of https://sourceforge.net/p/mhash/bugs/37/

--- a/src/keygen_test.c
+++ b/src/keygen_test.c
@@ -121,8 +121,6 @@
 	
 	mhash_keygen_ext(KEYGEN_S2K_SALTED, data, key, keysize, password, passlen);
 
-	mutils_memset(tmp, 0, keysize * 2);
-
 	tmp = mutils_asciify(key, keysize);
 
 	result = mutils_strcmp((mutils_word8 *) KEY2, tmp);