Package: libmhash-dev
Version: 0.9.9.9-1
Severity: normal
Hi,
I tested this small program and got a segmentation fault:
$ cat mh.c
#include <mhash.h>
#include <stdio.h>
int main(void){
MHASH thread;
thread = mhash_init(MHASH_WHIRLPOOL);
mhash_deinit(thread, NULL);
return 0;
}
$ gcc -Wall -lmhash -o mh mh.c
$ ./mh
Segmentation fault
If I comment mhash_deinit line, the segmentation fault disappears.
I have the same problem with MHASH_SNEFRU128 and MHASH_SNEFRU256.
Thanks for your work!
Mònica
--- System information. ---
Architecture: i386
Kernel: Linux 3.1.0-1-686-pae
Debian Release: wheezy/sid
900 testing security.debian.org
900 testing ftp.fi.debian.org
850 stable security.debian.org
850 stable ftp.fi.debian.org
500 unstable ftp.fi.debian.org
500 stable-updates ftp.fi.debian.org
--- Package information. ---
Depends (Version) | Installed
===========================-+-==============
libmhash2 (= 0.9.9.9-1) | 0.9.9.9-1
libc6-dev | 2.13-21
Package's Recommends field is empty.
Package's Suggests field is empty.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]