]> granicus.if.org Git - neomutt/commit
Fix latest coverity issues (#624)
authorPietro Cerutti <gahr@gahr.ch>
Thu, 8 Jun 2017 13:51:16 +0000 (14:51 +0100)
committerGitHub <noreply@github.com>
Thu, 8 Jun 2017 13:51:16 +0000 (14:51 +0100)
commit2b343567f0c2de2175a2ba3378051c4194730719
tree143a1f12844c2a1508884bcc4a15c3594fb15b97
parent09ea583507435ca877bca582bad775b7dc53c641
Fix latest coverity issues (#624)

* Fix latest coverity issues

ncrypt/crypt.c
CID 170494:  Resource leaks  (RESOURCE_LEAK)
Variable "from" going out of scope leaks the storage it points to.

nntp.c
CID 170495:  Uninitialized variables  (UNINIT)
Declaring variable "buf" without initializer.

parse.c
CID 76957:  Error handling issues  (NEGATIVE_RETURNS)
"loc" is passed to a parameter that cannot be negative.
ncrypt/crypt.c
nntp.c
parse.c