diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2017-10-19 11:27:38 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2017-10-19 11:27:38 +0300 |
commit | b5a739de9d8ada25c4ce7cf5f365ecde89f470e5 (patch) | |
tree | 4402ebd505197be22946c14465036f0bdf7e7ae7 /lib/dns.c | |
parent | 4b2e0d1a143a62fdcb25e747891ce6784a946408 (diff) | |
download | mailfromd-b5a739de9d8ada25c4ce7cf5f365ecde89f470e5.tar.gz mailfromd-b5a739de9d8ada25c4ce7cf5f365ecde89f470e5.tar.bz2 |
Allocate exception buffer even if status.mf is not required
This fixes coredumps caused by calls to MF_THROW from built-in functions
in scripts without the 'require status' statement.
* src/exclist.c (fixup_exceptions): New function
* src/mailfromd.h (fixup_exceptions): New proto.
* src/gram.y: Call fixup_exceptions before setting up dataseg.
Diffstat (limited to 'lib/dns.c')
0 files changed, 0 insertions, 0 deletions