Fix buffer length handling in GnuTLS password encryption and decryption.
authorAndrej Kacian <ticho@claws-mail.org>
Thu, 14 Dec 2017 22:18:50 +0000 (23:18 +0100)
committerAndrej Kacian <ticho@claws-mail.org>
Thu, 14 Dec 2017 22:18:50 +0000 (23:18 +0100)
commit5805ff8180e298a04a4c99ab57374cf87e273c11
tree3e34a2b7d105f940ee98f17d9798f798564acfbd
parentdc1debf5645c552a1cd9c6be5313e0ed8b797d28
Fix buffer length handling in GnuTLS password encryption and decryption.

Also zero out one forgotten copy of plaintext password
before freeing it. Oops!
src/password.c