tags 653072 + patch
thanks
The segfaults happened due to the NULL in the mhash_deinit() call. The whirlpool
and snefru implementations did not do a null check before attempting to write
the hash to the address passed in. Double checking with the mhash(3) manpage
shows that mhash_deinit() is
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,
2 matches
Mail list logo