Fix case where we might reference a buffer that has fallen out of scope.
If we fail to obtain a lock on the scoreboard and return the error, make sure
we close the fd on the way out, lest we leak an fd.
Make sure that when prompting the user for a passphrase for a certificate,
we ensure that the buffer holding the passphrase is NUL-terminated.
Fix memory leak identified by Coverity: setenv(3) already makes a copy of its
arguments, which means that we do not need to do it.
If there are errors when opening a Controls socket, make sure that the
socket is closed, otherwise we have a descriptor leak.  This was identified
by Coverity.
Fix error case where a socket opened by init_conn() was not properly closed
on error.  This leak was identified by Coverity.
Fix a case, found by Coverity, where we would not properly free an addrinfo.
Coverity found a "leaked" file descriptor in mod_snmp; we were not returning
the opened socket to the caller when opening the listening socket.
Avoid possible descriptor leak, found by Coverity, by using the existing
pr_fs_get_usable_fd() function, rather than multiple different approaches.
Be pedanticly cautious, prompted by Coverity, in making sure that buffer
indices are within the range we assume.
Initialize variable value, per Coverity.
Initialize variable, per Coverity.
Initialize variable, per Coverity.
Initialize variable, per Coverity.
Ensure matching datatypes, on platforms where uint32_t and size_t are not
the same size; this should address an issue spotted by Coverity.
Avoid possible buffer overrun on exceedingly log syslog-destined log messages,
per Coverity.
Fix error spotted by Coverity, where we might exceed the array of supported
units for Display variables.
Add a Coverity modeling file, to hopefully help suppress some false positives.
Merge pull request #54 from proftpd/coverity-defects

Coverity defects