Dovecot limits process VSZ by default, and we noticed that libexttextcat crashes when it can't allocate memory. Segfaulting doesn't make it very clear why the failure happened, so would be nice to get some kind of an error message printed. Here's the simplest patch I thought of to fix it.
Dovecot limits process VSZ by default, and we noticed that libexttextcat crashes when it can't allocate memory. Segfaulting doesn't make it very clear why the failure happened, so would be nice to get some kind of an error message printed. Here's the simplest patch I thought of to fix it.