wmail: handle allocation failures.
commitc4eb6d91d249f7e147d84a13c6e1b4f156d49e2b
authorJeremy Sowden <jeremy@azazel.net>
Fri, 21 Jun 2019 10:50:33 +0000 (21 11:50 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Fri, 21 Jun 2019 11:28:08 +0000 (21 12:28 +0100)
treeaef6be0b707344b6746cd49d8256e306341138bf
parentdbc178ec3ffd00d804bec3f415cc3e3bc02045e7
wmail: handle allocation failures.

Check the return values of some invocations of malloc and strdup and
ensure that any NULL's are handled correctly.
wmail/src/config.c
wmail/src/wmail.c