]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
gcrypt: Always initialize result pointer.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 10 Jul 2016 18:59:34 +0000 (20:59 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 22 Aug 2016 15:27:51 +0000 (17:27 +0200)
If the call to mmap_full_file() at the beginning of decode_key() fails,
we return without initializing the result pointer to NULL. This does not
matter now, because the only caller of decode_key() does not look at the
pointer value in the error case. Let's be defensive here and initialize
the pointer anyway.


No differences found