summaryrefslogtreecommitdiffabout
path: root/src/main.c
authorSergey Poznyakoff <gray@gnu.org.ua>2017-10-19 08:27:38 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2017-10-19 08:27:38 (GMT)
commitb5a739de9d8ada25c4ce7cf5f365ecde89f470e5 (patch) (side-by-side diff)
tree4402ebd505197be22946c14465036f0bdf7e7ae7 /src/main.c
parent4b2e0d1a143a62fdcb25e747891ce6784a946408 (diff)
downloadmailfromd-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 'src/main.c') (more/less context) (ignore whitespace changes)
0 files changed, 0 insertions, 0 deletions

Return to:

Send suggestions and report system problems to the System administrator.